Fixed launcher crash in wine!

This commit is contained in:
Anonymous-275 2021-04-02 03:52:31 +03:00
parent b40ab5e36a
commit e70cf0f877

View File

@ -139,9 +139,10 @@ void TCPClientMain(const std::string& IP,int Port){
Terminate = true;
return;
}
getsockname(TCPSock, (SOCKADDR *)&ServerAddr, (int *)sizeof(ServerAddr));
info("Connected!");
char Code = 'C';
send(TCPSock,&Code,1,0);
send(TCPSock, &Code, 1, 0);
SyncResources(TCPSock);
while(!Terminate){
ServerParser(TCPRcv(TCPSock));