Forum Post: RE: How to set SOCKET:CONNECT() timeout value

  • Thread starter Thread starter Arun Kumar Mohapatra
  • Start date Start date
Status
Not open for further replies.
A

Arun Kumar Mohapatra

Guest
I think there a way to set timeout value in SOCKET:CONNECT() method, using "-clientConnectTimeout" parameter, it takes value in milli seconds. Basically this sets socket level timeout value in client side socket. By default connect is blocking in nature, setting client connection timeout value makes the connection request non-blocking, and returns will error if connect not successful with in the given time interval. Thanks, Arun

Continue reading...
 
Status
Not open for further replies.
Back
Top