mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-24 08:52:33 +00:00
UDP_Socket: I doubt client addresses are meant to be included in the total for broadcast addresses
This commit is contained in:
parent
f5b88ee37d
commit
339ffe8d08
1 changed files with 3 additions and 0 deletions
|
|
@ -1059,6 +1059,9 @@ static boolean UDP_Socket(void)
|
|||
clientaddress[s].ip4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); //GetLocalAddress(); // my own ip
|
||||
s++;
|
||||
}
|
||||
|
||||
s = 0;
|
||||
|
||||
// setup broadcast adress to BROADCASTADDR entry
|
||||
gaie = I_getaddrinfo("255.255.255.255", "0", &hints, &ai);
|
||||
if (gaie == 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue