aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs
index 002b493..67b8f42 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs
@@ -52,7 +52,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
52 { 52 {
53 ChunkSenderTuple tuple = m_chunksToLoad.Dequeue(); 53 ChunkSenderTuple tuple = m_chunksToLoad.Dequeue();
54 reusedEpSender = tuple.Sender; 54 reusedEpSender = tuple.Sender;
55 throw new SocketException(); 55 ResetServerEndPoint(new SocketException());
56 ReceiveData(null);
56 } 57 }
57 } 58 }
58 59
@@ -60,13 +61,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
60 { 61 {
61 numBytes = 0; 62 numBytes = 0;
62 63
64 //System.Console.WriteLine("Queue size " + m_chunksToLoad.Count);
65
63 if (m_chunksToLoad.Count <= 0) 66 if (m_chunksToLoad.Count <= 0)
64 return false; 67 return false;
65 68
66 ChunkSenderTuple tuple = m_chunksToLoad.Dequeue(); 69 ChunkSenderTuple tuple = m_chunksToLoad.Dequeue();
67 RecvBuffer = tuple.Data; 70 RecvBuffer = tuple.Data;
68 numBytes = tuple.Data.Length; 71 numBytes = tuple.Data.Length;
69 epSender = tuple.Sender; 72 epSender = tuple.Sender;
70 73
71 return true; 74 return true;
72 } 75 }