[Boost-bugs] [Boost C++ Libraries] #5822: asyncconnect generates multiple sockets

Subject: [Boost-bugs] [Boost C++ Libraries] #5822: asyncconnect generates multiple sockets
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-29 11:55:01

#5822: asyncconnect generates multiple sockets
 Reporter: GC <gert_corthout@…> | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.46.0 | Severity: Cosmetic
 Keywords: asyncconnect multiple sockets |
 I already posted this on the mailing list, but since no-one replied and
 said this is a feature I assume it is a bug.

 Start the chatserver example.
 Run TcpView (from sysinternals). Look at the sockets generated by the
 As expected the server has created 1 socket and its status is "listening".
 Ok so far.
 Next start the chat client example.
 It generates 3 sockets! One is expected: it targets the port the server is
 listening on. But there are 2 others in "established" state. They target
 each other. Why are they there and what are they doing?
 NOTE: ofc the server generated a new "established" socket as well.

Ticket URL: <https://svn.boost.org/trac/boost/ticket/5822>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC