mirror of
https://github.com/diamante0018/MW3ProtocolExploit.git
synced 2025-05-11 15:04:51 +00:00
I can't stop tabbing
This commit is contained in:
parent
ebd30ef79a
commit
96fe1ff515
@ -9,7 +9,7 @@ SOCKET sock;
|
|||||||
bool startUp()
|
bool startUp()
|
||||||
{
|
{
|
||||||
WSADATA wsa_data;
|
WSADATA wsa_data;
|
||||||
auto wasResult = WSAStartup(MAKEWORD(2, 2), &wsa_data);
|
auto wasResult = WSAStartup(MAKEWORD(2, 2), &wsa_data);
|
||||||
if (wasResult != 0)
|
if (wasResult != 0)
|
||||||
{
|
{
|
||||||
printf("WSAStartup error: %d\n", wasResult);
|
printf("WSAStartup error: %d\n", wasResult);
|
||||||
@ -24,8 +24,8 @@ bool startUp()
|
|||||||
}
|
}
|
||||||
|
|
||||||
sockaddr_in service{};
|
sockaddr_in service{};
|
||||||
service.sin_family = AF_INET;
|
service.sin_family = AF_INET;
|
||||||
service.sin_addr.s_addr = htonl(INADDR_ANY);
|
service.sin_addr.s_addr = htonl(INADDR_ANY);
|
||||||
|
|
||||||
// net_masterServerPort
|
// net_masterServerPort
|
||||||
service.sin_port = htons(27014);
|
service.sin_port = htons(27014);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user