diff options
author | Dr Scofield | 2008-06-27 23:03:39 +0000 |
---|---|---|
committer | Dr Scofield | 2008-06-27 23:03:39 +0000 |
commit | 748f72326d9a295958bc9ba63bbb1a5d39030ef7 (patch) | |
tree | 58f2c9a5f6b8ffab5ad3621070aa17cb1c1e3e6b /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |
parent | more warnings to go. (diff) | |
download | opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.zip opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.gz opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.bz2 opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.xz |
last round of warning squashing. calling it a day now.
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 | ||