aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorUbitUmarov2014-10-30 21:57:20 +0000
committerUbitUmarov2014-10-30 21:57:20 +0000
commit54ab9e7d4dd04042cb36b292c3896d20f3df8060 (patch)
tree9522053b40c609f6aea223868a1568418a976ce4 /OpenSim/Region/ClientStack
parentMerge branch 'avination-current' (diff)
downloadopensim-SC-54ab9e7d4dd04042cb36b292c3896d20f3df8060.zip
opensim-SC-54ab9e7d4dd04042cb36b292c3896d20f3df8060.tar.gz
opensim-SC-54ab9e7d4dd04042cb36b292c3896d20f3df8060.tar.bz2
opensim-SC-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/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs2
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,