Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IDTCP
#3
(11-23-2018, 08:55 PM)rlebeau Wrote: I already addressed this on your same question on StackOverflow.  However, what you have shown here is not quite the same code you posted on StackOverflow.  For instance, your server event handlers are accessing the UI without synchronizing with the main UI thread.  You did not show that on StackOverflow.

Everything works, thank you. One more question, how to send by tcp from the form (for example, by pressing a button Rec.Flag: = 'addPass'). We created a TIdTCPClient in Execute, and now I cannot pass parameters from the form. I need to transfer data from the form every time, not to make a stream every time. and why my client form not close, FMyThread.WaitFor, FMyThread.Free - keeps the form from closing 
Reply


Messages In This Thread
IDTCP - by Rustam - 11-23-2018, 06:04 AM
RE: IDTCP - by rlebeau - 11-23-2018, 08:55 PM
RE: IDTCP - by Rustam - 11-25-2018, 06:37 PM
RE: IDTCP - by rlebeau - 11-25-2018, 07:52 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)