Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Oct : TCP server to client messages...

www.cryer.info
Managed Newsgroup Archive

TCP server to client messages...

Subject:TCP server to client messages...
Posted by:tdunsfo..@gmail.com
Date:18 Oct 2006 13:01:16

Hi,

Im hoping someone can prod me in the right direction.  On the client
end, what is the correct way to watch for messages coming from the
server.  I've written a thread class that just calls
client.IOHandler.ReadLn(#10,0) in a loop and deals with data that comes
in.  It seems to work ok, but i cant help feeling that there is a
"proper" way to do this.

Oh, and im using the indy 10 TIdTCPClient component.

Any help is appreciated.

Thanks,

Trevor Dunsford

Replies:

www.cryer.info
Managed Newsgroup Archive