Reorganize socket classes
This commit is contained in:
@@ -10,12 +10,12 @@ void HttpServer::Execute()
|
||||
{
|
||||
try
|
||||
{
|
||||
Connection newConnection = listeningSocket.AcceptNextConnection();
|
||||
connectionOperator.HandleNewConnection(newConnection);
|
||||
ClientSocket newClient = listeningSocket.AcceptNextConnection();
|
||||
connectionOperator.HandleNewConnection(newClient);
|
||||
}
|
||||
catch (std::runtime_error & e)
|
||||
{
|
||||
logger.Info("Connection dropped on accept");
|
||||
logger.Info("ClientSocket dropped on accept");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user