Small note
This commit is contained in:
parent
af1f9cff67
commit
0df1192679
2 changed files with 3 additions and 1 deletions
|
|
@ -58,6 +58,7 @@ int Socket::winAccept(){
|
|||
continue;
|
||||
}
|
||||
log.info("Client connected");
|
||||
// handling client starts here
|
||||
closesocket(clientSocket);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
#include "Socket.hpp"
|
||||
|
||||
#include <winsock.h>
|
||||
#include <thread>
|
||||
|
||||
bool running = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue