Boost logo

Boost Users :

Subject: [Boost-users] boost::asio::tcp -> asyncconnect generates multiple sockets
From: Hert (gert_corthout_at_[hidden])
Date: 2011-07-06 02:58:29


I noticed that when asynchronously connecting to an acceptor on localhost
using boost::asio::ip::tcp::socket generates 2 TCP sockets on the system.
One to the acceptor and one to the other one. Stepping into the code I can
see where it is done, but I don't understand why. So why is this extra TCP
socket there?

thanks in advance,

View this message in context:
Sent from the Boost - Users mailing list archive at

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