aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/UDPServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/UDPServer.cs')
-rw-r--r--OpenSim/Region/ClientStack/UDPServer.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/UDPServer.cs b/OpenSim/Region/ClientStack/UDPServer.cs
index 8314fc3..8f377c1 100644
--- a/OpenSim/Region/ClientStack/UDPServer.cs
+++ b/OpenSim/Region/ClientStack/UDPServer.cs
@@ -47,6 +47,7 @@ namespace OpenSim.Region.ClientStack
47 protected EndPoint epSender; 47 protected EndPoint epSender;
48 protected AsyncCallback ReceivedData; 48 protected AsyncCallback ReceivedData;
49 protected PacketServer m_packetServer; 49 protected PacketServer m_packetServer;
50 protected ulong m_regionHandle;
50 51
51 protected int listenPort; 52 protected int listenPort;
52 protected IScene m_localScene; 53 protected IScene m_localScene;
@@ -66,6 +67,15 @@ namespace OpenSim.Region.ClientStack
66 { 67 {
67 m_localScene = value; 68 m_localScene = value;
68 m_packetServer.LocalScene = m_localScene; 69 m_packetServer.LocalScene = m_localScene;
70 m_regionHandle = m_localScene.RegionInfo.RegionHandle;
71 }
72
73 }
74 public ulong RegionHandle
75 {
76 get
77 {
78 return m_regionHandle;
69 } 79 }
70 } 80 }
71 81
@@ -115,6 +125,10 @@ namespace OpenSim.Region.ClientStack
115 125
116 return; 126 return;
117 } 127 }
128 catch (System.ObjectDisposedException od)
129 {
130 return;
131 }
118 132
119 int packetEnd = numBytes - 1; 133 int packetEnd = numBytes - 1;
120 134