Autoclose updated

Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com>
merge-requests/471/merge
k1-801 1 year ago committed by Adam Honse
parent abfb6ea22d
commit 65623d3978
  1. 6
      NetworkServer.cpp
  2. 1
      NetworkServer.h

@ -7,7 +7,6 @@
\*-----------------------------------------*/
#include "NetworkServer.h"
#include "ResourceManager.h"
#include "LogManager.h"
#include <cstring>
@ -34,6 +33,11 @@ const char yes = 1;
using namespace std::chrono_literals;
NetworkClientInfo::NetworkClientInfo()
{
client_sock = INVALID_SOCKET;
client_listen_thread = nullptr;
}
NetworkClientInfo::~NetworkClientInfo()
{

@ -24,6 +24,7 @@ typedef void (*NetServerCallback)(void *);
class NetworkClientInfo
{
public:
NetworkClientInfo();
~NetworkClientInfo();
SOCKET client_sock;

Loading…
Cancel
Save