Boost logo

Boost Users :

Subject: Re: [Boost-users] How to design proper release of a boost::asio socket or wrapper thereof
From: Arash Partow (arash_at_[hidden])
Date: 2017-04-06 21:19:54

Christopher Pisz via Boost-users wrote:
> The problem I have with this example listing is that it cheats and it cheats
> big, by making the tcp_connection a shared_ptr, such that it doesn't worry
> about the lifetime management of each connection.

What's wrong with how connections are managed in the chat_server example?

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