aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/SimClient.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.RegionServer/SimClient.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim.RegionServer/SimClient.cs b/OpenSim.RegionServer/SimClient.cs
index 1f92a93..49221f8 100644
--- a/OpenSim.RegionServer/SimClient.cs
+++ b/OpenSim.RegionServer/SimClient.cs
@@ -1236,6 +1236,7 @@ namespace OpenSim
1236 ArrayList SendParams; 1236 ArrayList SendParams;
1237 XmlRpcRequest GridReq; 1237 XmlRpcRequest GridReq;
1238 XmlRpcResponse GridResp; 1238 XmlRpcResponse GridResp;
1239 List<Packet> enablePackets = new List<Packet>();
1239 foreach (Hashtable neighbour in ((RemoteGridBase)this.m_gridServer).neighbours) 1240 foreach (Hashtable neighbour in ((RemoteGridBase)this.m_gridServer).neighbours)
1240 { 1241 {
1241 Console.WriteLine( "http://" + neighbour["sim_ip"] + ":" + neighbour["sim_port"]); 1242 Console.WriteLine( "http://" + neighbour["sim_ip"] + ":" + neighbour["sim_port"]);
@@ -1262,9 +1263,14 @@ namespace OpenSim
1262 enablesimpacket.SimulatorInfo.IP += (uint)byteIP[1] << 8; 1263 enablesimpacket.SimulatorInfo.IP += (uint)byteIP[1] << 8;
1263 enablesimpacket.SimulatorInfo.IP += (uint)byteIP[0]; 1264 enablesimpacket.SimulatorInfo.IP += (uint)byteIP[0];
1264 enablesimpacket.SimulatorInfo.Port = (ushort)Convert.ToInt32(neighbour["sim_port"]); 1265 enablesimpacket.SimulatorInfo.Port = (ushort)Convert.ToInt32(neighbour["sim_port"]);
1265 Thread.Sleep(3000); 1266 enablePackets.Add(enablesimpacket);
1266 this.OutPacket(enablesimpacket);
1267 } 1267 }
1268 Thread.Sleep(3000);
1269 foreach (Packet enable in enablePackets)
1270 {
1271 this.OutPacket(enable);
1272 }
1273 enablePackets.Clear();
1268 } 1274 }
1269 } 1275 }
1270 } 1276 }