ENetPeer

An ENet peer which data packets may be sent or received from.

No fields should be modified unless otherwise specified.

struct ENetPeer {}

Members

Variables

acknowledgements
ENetList acknowledgements;
Undocumented in source.
address
ENetAddress address;

< Internet address of the peer

channelCount
size_t channelCount;

< Number of channels allocated for communication with peer

channels
ENetChannel* channels;
Undocumented in source.
connectID
enet_uint32 connectID;
Undocumented in source.
data
void* data;

< Application private data, may be freely modified

dispatchList
ENetListNode dispatchList;
Undocumented in source.
dispatchedCommands
ENetList dispatchedCommands;
Undocumented in source.
earliestTimeout
enet_uint32 earliestTimeout;
Undocumented in source.
eventData
enet_uint32 eventData;
Undocumented in source.
highestRoundTripTimeVariance
enet_uint32 highestRoundTripTimeVariance;
Undocumented in source.
host
ENetHost* host;
Undocumented in source.
incomingBandwidth
enet_uint32 incomingBandwidth;

< Downstream bandwidth of the client in bytes/second

incomingBandwidthThrottleEpoch
enet_uint32 incomingBandwidthThrottleEpoch;
Undocumented in source.
incomingDataTotal
enet_uint32 incomingDataTotal;
Undocumented in source.
incomingPeerID
enet_uint16 incomingPeerID;
Undocumented in source.
incomingSessionID
enet_uint8 incomingSessionID;
Undocumented in source.
incomingUnsequencedGroup
enet_uint16 incomingUnsequencedGroup;
Undocumented in source.
lastReceiveTime
enet_uint32 lastReceiveTime;
Undocumented in source.
lastRoundTripTime
enet_uint32 lastRoundTripTime;
Undocumented in source.
lastRoundTripTimeVariance
enet_uint32 lastRoundTripTimeVariance;
Undocumented in source.
lastSendTime
enet_uint32 lastSendTime;
Undocumented in source.
lowestRoundTripTime
enet_uint32 lowestRoundTripTime;
Undocumented in source.
mtu
enet_uint32 mtu;
Undocumented in source.
needsDispatch
int needsDispatch;
Undocumented in source.
nextTimeout
enet_uint32 nextTimeout;
Undocumented in source.
outgoingBandwidth
enet_uint32 outgoingBandwidth;

< Upstream bandwidth of the client in bytes/second

outgoingBandwidthThrottleEpoch
enet_uint32 outgoingBandwidthThrottleEpoch;
Undocumented in source.
outgoingDataTotal
enet_uint32 outgoingDataTotal;
Undocumented in source.
outgoingPeerID
enet_uint16 outgoingPeerID;
Undocumented in source.
outgoingReliableCommands
ENetList outgoingReliableCommands;
Undocumented in source.
outgoingReliableSequenceNumber
enet_uint16 outgoingReliableSequenceNumber;
Undocumented in source.
outgoingSessionID
enet_uint8 outgoingSessionID;
Undocumented in source.
outgoingUnreliableCommands
ENetList outgoingUnreliableCommands;
Undocumented in source.
outgoingUnsequencedGroup
enet_uint16 outgoingUnsequencedGroup;
Undocumented in source.
packetLoss
enet_uint32 packetLoss;

< mean packet loss of reliable packets as a ratio with respect to the constant ENET_PEER_PACKET_LOSS_SCALE

packetLossEpoch
enet_uint32 packetLossEpoch;
Undocumented in source.
packetLossVariance
enet_uint32 packetLossVariance;
Undocumented in source.
packetThrottle
enet_uint32 packetThrottle;
Undocumented in source.
packetThrottleAcceleration
enet_uint32 packetThrottleAcceleration;
Undocumented in source.
packetThrottleCounter
enet_uint32 packetThrottleCounter;
Undocumented in source.
packetThrottleDeceleration
enet_uint32 packetThrottleDeceleration;
Undocumented in source.
packetThrottleEpoch
enet_uint32 packetThrottleEpoch;
Undocumented in source.
packetThrottleInterval
enet_uint32 packetThrottleInterval;
Undocumented in source.
packetThrottleLimit
enet_uint32 packetThrottleLimit;
Undocumented in source.
packetsLost
enet_uint32 packetsLost;
Undocumented in source.
packetsSent
enet_uint32 packetsSent;
Undocumented in source.
pingInterval
enet_uint32 pingInterval;
Undocumented in source.
reliableDataInTransit
enet_uint32 reliableDataInTransit;
Undocumented in source.
roundTripTime
enet_uint32 roundTripTime;

< mean round trip time (RTT), in milliseconds, between sending a reliable packet and receiving its acknowledgement

roundTripTimeVariance
enet_uint32 roundTripTimeVariance;
Undocumented in source.
sentReliableCommands
ENetList sentReliableCommands;
Undocumented in source.
sentUnreliableCommands
ENetList sentUnreliableCommands;
Undocumented in source.
state
ENetPeerState state;
Undocumented in source.
timeoutLimit
enet_uint32 timeoutLimit;
Undocumented in source.
timeoutMaximum
enet_uint32 timeoutMaximum;
Undocumented in source.
timeoutMinimum
enet_uint32 timeoutMinimum;
Undocumented in source.
totalWaitingData
size_t totalWaitingData;
Undocumented in source.
unsequencedWindow
enet_uint32[ENET_PEER_UNSEQUENCED_WINDOW_SIZE / 32] unsequencedWindow;
Undocumented in source.
windowSize
enet_uint32 windowSize;
Undocumented in source.

Meta