Main Page Modules Namespaces C++ Classes Compound List File List Index
TNL::NetInterface::DelaySendPacket struct Reference

TNL::NetInterface::DelaySendPacket Struct Reference

#include <tnlNetInterface.h>


Detailed Description

Structure used to track packets that are delayed in sending for simulating a high-latency connection.

The DelaySendPacket is allocated as sizeof(DelaySendPacket) + packetSize;


Data Fields

DelaySendPacketnextPacket
 The next packet in the list of delayed packets.

Address remoteAddress
 The address to send this packet to.

U32 sendTime
 Time when we should send the packet.

U32 packetSize
 Size, in bytes, of the packet data.

U8 packetData [1]
 Packet data.


Field Documentation

DelaySendPacket* TNL::NetInterface::DelaySendPacket::nextPacket
 

The next packet in the list of delayed packets.

Address TNL::NetInterface::DelaySendPacket::remoteAddress
 

The address to send this packet to.

U32 TNL::NetInterface::DelaySendPacket::sendTime
 

Time when we should send the packet.

U32 TNL::NetInterface::DelaySendPacket::packetSize
 

Size, in bytes, of the packet data.

U8 TNL::NetInterface::DelaySendPacket::packetData[1]
 

Packet data.