Hello,
can anybody point me to documentation on using TTCPClient from fpSock.pp ?
I am porting a Delphi app which uses TidTCPClient to send / receive
text over tcp.
I changed this to using TTCPClient but when doing :
    MyTCPClient.Active := true
an exception is raised : 'No event loop assigned'

This is because property EventLoop : TEventLoop is not assigned.
What is it used for ? Nothing found on google. (:

Even doing :
  MyTCPClient.EventLoop := MyEventLoop;
  MyTCPClient.Active := true

doesn't help. The exception is not raised but the client is still disconnected.

Any help / hints would be more than welcome.

TIA.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to