Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Apr : Re: SendCmd hang
| Subject: | Re: SendCmd hang |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Tue, 11 Apr 2006 16:07:03 |
"Mark R. Holbrook" <mark_holbrook@comcast.net> wrote in message
news:443c1b69@newsgroups.borland.com...
> In the TCPClient I have set the ReadTimeOut to 5000 ms.
> However sporadically the SendCmd will hang. No time out,
> no invalid code, no nothing.
Which OS are you using? I have seen occasional reports of the Winsock
select() function not working properly on some systems. Indy relies on
select() for its timeouts.
> Is there any hassle using SendCmd from within a thread?
Not in general, no.
Gambit
none