diff options
author | UbitUmarov | 2014-10-30 21:57:20 +0000 |
---|---|---|
committer | UbitUmarov | 2014-10-30 21:57:20 +0000 |
commit | 54ab9e7d4dd04042cb36b292c3896d20f3df8060 (patch) | |
tree | 9522053b40c609f6aea223868a1568418a976ce4 /OpenSim | |
parent | Merge branch 'avination-current' (diff) | |
download | opensim-SC_OLD-54ab9e7d4dd04042cb36b292c3896d20f3df8060.zip opensim-SC_OLD-54ab9e7d4dd04042cb36b292c3896d20f3df8060.tar.gz opensim-SC_OLD-54ab9e7d4dd04042cb36b292c3896d20f3df8060.tar.bz2 opensim-SC_OLD-54ab9e7d4dd04042cb36b292c3896d20f3df8060.tar.xz |
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.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs index 881e768..a09195c 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs | |||
@@ -152,6 +152,8 @@ namespace OpenMetaverse | |||
152 | SocketType.Dgram, | 152 | SocketType.Dgram, |
153 | ProtocolType.Udp); | 153 | ProtocolType.Udp); |
154 | 154 | ||
155 | m_udpSocket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, false); | ||
156 | |||
155 | try | 157 | try |
156 | { | 158 | { |
157 | // This udp socket flag is not supported under mono, | 159 | // This udp socket flag is not supported under mono, |