30#include <sptk5/net/ServerConnection.h>
31#include <sptk5/net/TCPServer.h>
56 auto sslSocket = std::make_shared<SSLSocket>();
59 sslSocket->attach(connectionSocket,
true);
Abstract TCP server connection thread.
Definition: SSLServerConnection.h:46
~SSLServerConnection() override=default
Destructor.
SSLServerConnection(TCPServer &server, SOCKET connectionSocket, const sockaddr_in *connectionAddress, const ServerConnection::Function &connectionFunction)
Constructor.
Definition: SSLServerConnection.h:53
Definition: ServerConnection.h:56
void setSocket(const STCPSocket &socket)
TCPServer & server() const
Definition: TCPServer.h:133
const SSLKeys & getSSLKeys() const