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.
avinationmerge
UbitUmarov 2014-10-30 21:57:20 +00:00
parent 30f3de549a
commit 54ab9e7d4d
1 changed files with 2 additions and 0 deletions

View File

@ -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,