OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
/// <summary>
/// Send an ack immediately to the given endpoint.
/// </summary>
/// <remarks>
/// FIXME: Might be possible to use SendPacketData() like everything else, but this will require refactoring so
/// that we can obtain the UDPClient easily at this point.
/// </remarks>
/// <param name="remoteEndpoint"></param>
/// <param name="sequenceNumber"></param>
Send an ack immediately to the given endpoint.
Send an ack immediately to the given endpoint .
private void SendAckImmediate(IPEndPoint remoteEndpoint, uint sequenceNumber)
        {
            PacketAckPacket ack = new PacketAckPacket();
            ack.Header.Reliable = false;
            ack.Packets = new PacketAckPacket.PacketsBlock[1];
            ack.Packets[0] = new PacketAckPacket.PacketsBlock();
            ack.Packets[0].ID = sequenceNumber;
            SendAckImmediate(remoteEndpoint, ack);
        }
private void SendAckImmediate ( IPEndPoint remoteEndpoint , uint sequenceNumber ) { PacketAckPacket ack = new PacketAckPacket ( ) ; ack . Header . Reliable = false ; ack . Packets = new PacketAckPacket . PacketsBlock [ 1 ] ; ack . Packets [ 0 ] = new PacketAckPacket . PacketsBlock ( ) ; ack . Packets [ 0 ] . ID = sequenceNumber ; SendAckImmediate ( remoteEndpoint , ack ) ; }
Send an ack immediately to the given endpoint.
Send an ack immediately to the given endpoint .
remoteEndpoint
IPEndPoint
None
sequenceNumber
uint
None
remarks
Might be possible to use SendPacketData() like everything else, but this will require refactoring so
that we can obtain the UDPClient easily at this point.
Might be possible to use SendPacketData () like everything else but this will require refactoring so that we can obtain the UDPClient easily at this point .