Boost logo

Boost Users :

Subject: Re: [Boost-users] connection timeout
From: Igor R (boost.lists_at_[hidden])
Date: 2011-07-09 18:36:59


> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net