My program uses the Winsock control to connect to a remote server and retrieve a configuration file.
It does this every 10 minutes or so.
Sometimes it just hangs with a state of 'connecting'.
How can I get it to time out after a few seconds?
Thanks
Printable View
My program uses the Winsock control to connect to a remote server and retrieve a configuration file.
It does this every 10 minutes or so.
Sometimes it just hangs with a state of 'connecting'.
How can I get it to time out after a few seconds?
Thanks