
9 Jul
2011
9 Jul
'11
10:36 p.m.
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