Merge pull request #43918 from Faless/net/4.0_no_reuse_udp
Disable SO_REUSEADDR for UDP.
This commit is contained in:
commit
0ffa06b083
1 changed files with 0 additions and 1 deletions
|
@ -178,7 +178,6 @@ Error PacketPeerUDP::listen(int p_port, const IP_Address &p_bind_address, int p_
|
||||||
}
|
}
|
||||||
|
|
||||||
_sock->set_blocking_enabled(false);
|
_sock->set_blocking_enabled(false);
|
||||||
_sock->set_reuse_address_enabled(true);
|
|
||||||
_sock->set_broadcasting_enabled(broadcast);
|
_sock->set_broadcasting_enabled(broadcast);
|
||||||
err = _sock->bind(p_bind_address, p_port);
|
err = _sock->bind(p_bind_address, p_port);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue