Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Jun : TServerSocket stThreadBlocking vs stNonBlocking
| Subject: | TServerSocket stThreadBlocking vs stNonBlocking |
| Posted by: | "RandomAccess" (n..@tellingyou.com) |
| Date: | Sun, 1 Jul 2007 00:17:14 |
I have a problem I am not sure how to solve.
If I set my ServerSocket to stNonBlocking, everything works.
If I set my ServerSocket to stThreadBlocking, I am recieving OnAccept
event, but not OnClientConnect.
I am trying to spawn new Client threads (containing dynamically created
TClientSocket)
for connection I recieve. I am not sure if I should be using stNonBlocking
or stThreadBlocking. But for now, the principle problem I have is not
recieving OnClientConnect events.
any help would be appreciated