mirror of
https://github.com/diamante0018/MW3ProtocolExploit.git
synced 2025-04-19 20:32:52 +00:00
WSA
This commit is contained in:
parent
655b76f379
commit
163587cdbc
@ -9,10 +9,10 @@ SOCKET sock;
|
||||
bool startUp()
|
||||
{
|
||||
WSADATA wsa_data;
|
||||
auto wasResult = WSAStartup(MAKEWORD(2, 2), &wsa_data);
|
||||
if (wasResult != 0)
|
||||
auto wsaResult = WSAStartup(MAKEWORD(2, 2), &wsa_data);
|
||||
if (wsaResult != 0)
|
||||
{
|
||||
printf("WSAStartup error: %d\n", wasResult);
|
||||
printf("WSAStartup error: %d\n", wsaResult);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user