diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index eb4b8e7..d705ef2 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -418,9 +418,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
418 | m_socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); | 418 | m_socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); |
419 | m_socket.Bind(ServerIncoming); | 419 | m_socket.Bind(ServerIncoming); |
420 | // Add flags to the UDP socket to prevent "Socket forcibly closed by host" | 420 | // Add flags to the UDP socket to prevent "Socket forcibly closed by host" |
421 | uint IOC_IN = 0x80000000; | 421 | // uint IOC_IN = 0x80000000; |
422 | uint IOC_VENDOR = 0x18000000; | 422 | // uint IOC_VENDOR = 0x18000000; |
423 | uint SIO_UDP_CONNRESET = IOC_IN | IOC_VENDOR | 12; | 423 | // uint SIO_UDP_CONNRESET = IOC_IN | IOC_VENDOR | 12; |
424 | // TODO: this apparently works in .NET but not in Mono, need to sort out the right flags here. | 424 | // TODO: this apparently works in .NET but not in Mono, need to sort out the right flags here. |
425 | // m_socket.IOControl((int)SIO_UDP_CONNRESET, new byte[] { Convert.ToByte(false) }, null); | 425 | // m_socket.IOControl((int)SIO_UDP_CONNRESET, new byte[] { Convert.ToByte(false) }, null); |
426 | 426 | ||