Hello,
There is a function assign in Boost.Asio sockets, however I'm looking for something like
- release/unassign that would transfer the ownership on socket back to user.
or
- some type of assign that would not transfer ownership to socket class, so it would not close it when destroyed.
I'm aware of this solution but it involves duplicating socket (i.e. creating new descriptor rather then releasing one).
Does anybody knows how can this be done?
Edit: There is no such feature, opened ticket for Boost.Asio https://svn.boost.org/trac/boost/ticket/3900