connection timeout
Hi All, I use an async_connect() call in my tcp socket client implementation. It seems there is a timeout of about 15 seconds (in my case) so that after that time connect callback is executed passing an error. Is there a way to get or set that connection timeout? Regards Gianni
I use an async_connect() call in my tcp socket client implementation. It seems there is a timeout of about 15 seconds (in my case) so that after that time connect callback is executed passing an error. Is there a way to get or set that connection timeout?
I haven't looked at the implementation details, but I believe it boils down to some platform-specific timeout, like TcpMaxConnectRetransmissions on Windows: http://support.microsoft.com/default.aspx?scid=kb;en-us;120642
participants (2)
-
Gianni Ambrosio
-
Igor R