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:;en-us;120642

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at