mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #927
927: fixed boardcast r=heinrich5991 a=ChillerDragon classical typo hehe... it is an typo word.
This commit is contained in:
commit
d4bb119044
|
@ -1363,7 +1363,7 @@ NETSOCKET net_udp_create(NETADDR bindaddr)
|
||||||
sock.type |= NETTYPE_IPV4;
|
sock.type |= NETTYPE_IPV4;
|
||||||
sock.ipv4sock = socket;
|
sock.ipv4sock = socket;
|
||||||
|
|
||||||
/* set boardcast */
|
/* set broadcast */
|
||||||
setsockopt(socket, SOL_SOCKET, SO_BROADCAST, (const char*)&broadcast, sizeof(broadcast));
|
setsockopt(socket, SOL_SOCKET, SO_BROADCAST, (const char*)&broadcast, sizeof(broadcast));
|
||||||
|
|
||||||
/* set receive buffer size */
|
/* set receive buffer size */
|
||||||
|
@ -1411,7 +1411,7 @@ NETSOCKET net_udp_create(NETADDR bindaddr)
|
||||||
sock.type |= NETTYPE_IPV6;
|
sock.type |= NETTYPE_IPV6;
|
||||||
sock.ipv6sock = socket;
|
sock.ipv6sock = socket;
|
||||||
|
|
||||||
/* set boardcast */
|
/* set broadcast */
|
||||||
setsockopt(socket, SOL_SOCKET, SO_BROADCAST, (const char*)&broadcast, sizeof(broadcast));
|
setsockopt(socket, SOL_SOCKET, SO_BROADCAST, (const char*)&broadcast, sizeof(broadcast));
|
||||||
|
|
||||||
/* set receive buffer size */
|
/* set receive buffer size */
|
||||||
|
|
Loading…
Reference in a new issue