Merge pull request #43918 from Faless/net/4.0_no_reuse_udp

Disable SO_REUSEADDR for UDP.
This commit is contained in:
Rémi Verschelde 2020-11-27 15:25:54 +01:00 committed by GitHub
commit 0ffa06b083
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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_reuse_address_enabled(true);
_sock->set_broadcasting_enabled(broadcast);
err = _sock->bind(p_bind_address, p_port);