Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Indy TCPServer Timeout has no effect?

Status
Not open for further replies.

KempCGDR

Programmer
Jan 10, 2003
445
GB
Hi, I am writing an application that makes use of the Indy tcp server (and client) components. I am using readln on the server to listen for commands from the client but I need the code to go off and check various things every so often if it hasn't recieved a command. I have specified a timeout value for the readln but it still insists on waiting until it has recieved something before it moves on. Is this behaviour intentional on the part of the component? And if so then what exactly is the timeout meant to do?

Note that the problem isn't with my server locking up until something is recieved or anything like that, it all works nicely except for no timeout occuring (as far as I can tell).

Thanks for bothering to read this far ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top