From 3ba63dde6ef773602a6c8ffa11d034a59a73f057 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 13 Jun 2017 12:17:39 +0100 Subject: udp is not tcp. If mono versions have bronke udp sento, better update, also having 300 threads because object select is not funny --- OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs') diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 9aa1845..171e1cf 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs @@ -1222,7 +1222,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP outgoingPacket.SequenceNumber, isReliable, isResend, udpClient.AgentID, Scene.Name); // Put the UDP payload on the wire - AsyncBeginSend(buffer); +// AsyncBeginSend(buffer); + SyncSend(buffer); // Keep track of when this packet was sent out (right now) outgoingPacket.TickCount = Environment.TickCount & Int32.MaxValue; @@ -1907,7 +1908,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP Buffer.BlockCopy(packetData, 0, buffer.Data, 0, length); - AsyncBeginSend(buffer); +// AsyncBeginSend(buffer); + SyncSend(buffer); } protected bool IsClientAuthorized(UseCircuitCodePacket useCircuitCode, out AuthenticateResponse sessionInfo) -- cgit v1.1