Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 May : TIdTCPClient/Server - Read/Write at same time?
| Subject: | TIdTCPClient/Server - Read/Write at same time? |
| Posted by: | "Jamie Dale" (jamie.da..@yahoo.com) |
| Date: | Tue, 8 May 2007 08:37:49 |
Hi - This is a real quickie
Can the TIdTCPClient/Server read and write at the same time?
IE my Client has a reading thread (To avoid Antifreeze) BUT can it also
write at the very sam time as reading?
EG
//While Client is reading Stream (EG large file) can it write back out?
IdTCPClient1.WriteLine('anything goes while reading');
Same question applies to the TIdTCPServer too please..
Am I ok to write at the same time as reading or must I also incorporate a
data queue?
Sorry in advance if it's a dumb question..