aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs15
1 files changed, 8 insertions, 7 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs
index 49aca3c..8b2f84f 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs
@@ -261,15 +261,16 @@ namespace OpenMetaverse
261 // This udp socket flag is not supported under mono, 261 // This udp socket flag is not supported under mono,
262 // so we'll catch the exception and continue 262 // so we'll catch the exception and continue
263 // Try does not protect some mono versions on mac 263 // Try does not protect some mono versions on mac
264 if(Util.IsWindows()) 264 // this may work now on all platforms
265 { 265 //if(Util.IsWindows())
266 //{
266 m_udpSocket.IOControl(SIO_UDP_CONNRESET, new byte[] { 0 }, null); 267 m_udpSocket.IOControl(SIO_UDP_CONNRESET, new byte[] { 0 }, null);
267 m_log.Debug("[UDPBASE]: SIO_UDP_CONNRESET flag set"); 268 m_log.Debug("[UDPBASE]: SIO_UDP_CONNRESET flag set");
268 } 269 //}
269 else 270 //else
270 { 271 //{
271 m_log.Debug("[UDPBASE]: SIO_UDP_CONNRESET flag not supported on this platform, ignoring"); 272 // m_log.Debug("[UDPBASE]: SIO_UDP_CONNRESET flag not supported on this platform, ignoring");
272 } 273 //}
273 } 274 }
274 catch 275 catch
275 { 276 {