aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ThirdParty/3Di
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ThirdParty/3Di/LoadBalancer/TcpClient.cs8
-rw-r--r--ThirdParty/3Di/LoadBalancer/TcpServer.cs3
2 files changed, 7 insertions, 4 deletions
diff --git a/ThirdParty/3Di/LoadBalancer/TcpClient.cs b/ThirdParty/3Di/LoadBalancer/TcpClient.cs
index c794def..1acba24 100644
--- a/ThirdParty/3Di/LoadBalancer/TcpClient.cs
+++ b/ThirdParty/3Di/LoadBalancer/TcpClient.cs
@@ -181,8 +181,10 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer
181 } 181 }
182 182
183/* 183/*
184 public void recevie() { 184 public void receive()
185 if (mConnection == null) { 185 {
186 if (mConnection == null)
187 {
186 throw new Exception("client not initialized"); 188 throw new Exception("client not initialized");
187 } 189 }
188 try 190 try
@@ -191,7 +193,7 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer
191 } 193 }
192 catch (Exception e) 194 catch (Exception e)
193 { 195 {
194 Console.WriteLine(e.ToString()); 196 Console.WriteLine(e.ToString());
195 mConnection = null; 197 mConnection = null;
196 } 198 }
197 } 199 }
diff --git a/ThirdParty/3Di/LoadBalancer/TcpServer.cs b/ThirdParty/3Di/LoadBalancer/TcpServer.cs
index eb57b2d..1457299 100644
--- a/ThirdParty/3Di/LoadBalancer/TcpServer.cs
+++ b/ThirdParty/3Di/LoadBalancer/TcpServer.cs
@@ -150,7 +150,8 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer
150 state.ms_ptr.Read(packet, 0, state.header.numbytes); 150 state.ms_ptr.Read(packet, 0, state.header.numbytes);
151 151
152/* 152/*
153 for (int i=0; i<state.header.numbytes; i++) { 153 for (int i=0; i<state.header.numbytes; i++)
154 {
154 System.Console.Write(packet[i] + " "); 155 System.Console.Write(packet[i] + " ");
155 } 156 }
156 System.Console.WriteLine(); 157 System.Console.WriteLine();