mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
set udp SocketOptionName.ReuseAddress to false, to not allow two regions
to bind to same port, as seems to be possible at least with mono 3.2.8, same as patch just pushed to core by justin. This is not necessary on windows, possible a bug on some mono versions.
This commit is contained in:
@@ -152,6 +152,8 @@ namespace OpenMetaverse
|
||||
SocketType.Dgram,
|
||||
ProtocolType.Udp);
|
||||
|
||||
m_udpSocket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, false);
|
||||
|
||||
try
|
||||
{
|
||||
// This udp socket flag is not supported under mono,
|
||||
|
||||
Reference in New Issue
Block a user