diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index f56c0bf..c20c7bc 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -449,7 +449,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
449 | else | 449 | else |
450 | { | 450 | { |
451 | //MainLog.Instance.Verbose("UDPSERVER", "SendPacketTo : client " + sendto.ToString()); | 451 | //MainLog.Instance.Verbose("UDPSERVER", "SendPacketTo : client " + sendto.ToString()); |
452 | m_socket.SendTo(buffer, size, flags, sendto); | 452 | try |
453 | { | ||
454 | m_socket.SendTo(buffer, size, flags, sendto); | ||
455 | } | ||
456 | catch (SocketException SockE) | ||
457 | { | ||
458 | m_log.ErrorFormat("[UDPSERVER]: Caught Socket Error in the send buffer!. {0}",SockE.ToString()); | ||
459 | } | ||
453 | } | 460 | } |
454 | } | 461 | } |
455 | } | 462 | } |