http://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/reference/generic__... use a generic_stream::socket. It has a constructor for adopting an FD. On 15 March 2018 at 23:06, Dmitriy V via Boost-users < boost-users@lists.boost.org> wrote:
Hi guys !
I have client server app written on boost::asio. I want to implement updating the server through `execve`.
But I don't know how to assign integer socket descriptor (given by streamssl_.lowest_layer().native_handle()) to newly initialized server object after the updating (descriptors strored/restored in shared memory ...)
Any help, please !
-- the best regards _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users