Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Aug : TIdTCPClient ReadStream()
| Subject: | TIdTCPClient ReadStream() |
| Posted by: | "Jamie Dale" (jamie.da..@yahoo.com) |
| Date: | Wed, 29 Aug 2007 22:42:25 |
Hi
I've got my client using a TThread to do the reading of my TIdTCPClient on
my main form.
For reading Strings/Commands this is fine and does not affect the UI.
As soon as the thread uses ReadStream() the UI is frozen.
Is this because the TCPClient is on the main form? - Should it be created in
the thread itself or is there another reason?
TIA