lundi 25 juillet 2016

How to pass OpenSSL socket to another process

I want to pass the SSL socket(along with its SSL session) to another process. Is this possible ?

In the non-SSL socket implementation, I use WSADuplicateSocket(Windows API) to get socket info and then send it to another process to create a duplicated socket.

How can I do this on SSL socket? Which information I has to pass to the second process to let them create the duplicated socket and continue the SSL session from the first process? Once the socket is passed to the second process, the first process will close its socket handle.

Aucun commentaire:

Enregistrer un commentaire