Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Jun : Timeout value in TIdTCPServer's OnExecute event for AThread.Connection.ReadChar?

www.cryer.info
Managed Newsgroup Archive

Timeout value in TIdTCPServer's OnExecute event for AThread.Connection.ReadChar?

Subject:Timeout value in TIdTCPServer's OnExecute event for AThread.Connection.ReadChar?
Posted by:"Mark Huebner" (mhuebn..@bostwicklaboratories.com)
Date:Fri, 29 Jun 2007 18:37:42

Is there a way to specify a timeout value (say in milliseconds) in
TIdTCPServer's OnExecute event for AThread.Connection.ReadChar?  If not, is
there another method that I can use to read a single character and have a
read timeout value?  What does TIdTCPConnection.ReadTimeout do?

Thanks for all your help!

Replies:

www.cryer.info
Managed Newsgroup Archive