Browse Source

windows diconnect fix

main_gtk3
Murloc Knight 6 months ago
parent
commit
2da284f156
Signed by: cyber_flower GPG Key ID: AA6E5F1D70360D15
  1. 7
      windows_client/server.cpp

7
windows_client/server.cpp

@ -57,7 +57,12 @@ void listenClients(){
while(true){
int size;
server->Receive(client,(char*) &size, sizeof(int));
int ret = server->Receive(client,(char*) &size, sizeof(int));
if (ret == 0)
{
break;
}
if(size == -1){
break;

Loading…
Cancel
Save