Autoclose updated
Commit amended for code style by Adam Honse <[email protected]>
This commit is contained in:
1 parent
abfb6ea22d
commit
65623d3978
2 files changed
+6
-1
No files matched your search
+5
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user