Boost logo

Boost Users :

Subject: [Boost-users] [Asio] How to assign raw sockets (descriptors) to boost::asio::ssl::stream ?
From: Dmitriy V (dmxvlx_at_[hidden])
Date: 2018-03-15 22:06:09


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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net