Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Apr : SendCmd hang

www.cryer.info
Managed Newsgroup Archive

SendCmd hang

Subject:SendCmd hang
Posted by:"Mark R. Holbrook" (mark_holbro..@comcast.net)
Date:Tue, 11 Apr 2006 15:11:07

Hi All,

I have an app that has a thread running that processes commands.  In
this thread is a TidTCPClient component which is connected to a
TidTCPServer component in the remote application.

BTW this is under Delphi 7 and the standard Indy that is distributed with it.

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.

Is there any hassle using SendCmd from within a thread?

Thanks Mark

Replies:

www.cryer.info
Managed Newsgroup Archive