diff options
author | UbitUmarov | 2014-10-13 22:46:58 +0100 |
---|---|---|
committer | UbitUmarov | 2014-10-13 22:46:58 +0100 |
commit | 33ec07332069de24b0442c7d1795580bd0669449 (patch) | |
tree | da23587ddbabaac4737bf4aeb5f8e5505d33c8ff /OpenSim/Region/ClientStack/Linden/UDP | |
parent | *TEST* send udp sync. Stop uncontroled and hidden use of IO threads. (diff) | |
download | opensim-SC-33ec07332069de24b0442c7d1795580bd0669449.zip opensim-SC-33ec07332069de24b0442c7d1795580bd0669449.tar.gz opensim-SC-33ec07332069de24b0442c7d1795580bd0669449.tar.bz2 opensim-SC-33ec07332069de24b0442c7d1795580bd0669449.tar.xz |
revert to async send, since past experience showed sync didn't work when
on mono
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index ac4a877..8cc009d 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -1305,8 +1305,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1305 | PacketsSentCount++; | 1305 | PacketsSentCount++; |
1306 | 1306 | ||
1307 | // Put the UDP payload on the wire | 1307 | // Put the UDP payload on the wire |
1308 | //AsyncBeginSend(buffer); | 1308 | AsyncBeginSend(buffer); |
1309 | SyncSend(buffer); | 1309 | //SyncSend(buffer); |
1310 | 1310 | ||
1311 | // Keep track of when this packet was sent out (right now) | 1311 | // Keep track of when this packet was sent out (right now) |
1312 | outgoingPacket.TickCount = Environment.TickCount & Int32.MaxValue; | 1312 | outgoingPacket.TickCount = Environment.TickCount & Int32.MaxValue; |