can create a socket from a fd

This commit is contained in:
Benjamin Sergeant
2018-12-29 21:53:33 -08:00
parent 43cd6d34ca
commit ea07afcc0b
8 changed files with 82 additions and 48 deletions

View File

@ -74,7 +74,7 @@ SSL *openssl_create_connection(SSL_CTX *ctx, int socket)
namespace ix
{
SocketOpenSSL::SocketOpenSSL() :
SocketOpenSSL::SocketOpenSSL(int fd) : Socket(fd),
_ssl_connection(nullptr),
_ssl_context(nullptr)
{