enet
|
An ENet host for communicating with peers. More...
#include <enet.h>
Data Fields | |
ENetSocket | socket |
ENetAddress | address |
Internet address of the host. | |
enet_uint32 | incomingBandwidth |
downstream bandwidth of the host | |
enet_uint32 | outgoingBandwidth |
upstream bandwidth of the host | |
enet_uint32 | bandwidthThrottleEpoch |
enet_uint32 | mtu |
enet_uint32 | randomSeed |
int | recalculateBandwidthLimits |
ENetPeer * | peers |
array of peers allocated for this host | |
size_t | peerCount |
number of peers allocated for this host | |
size_t | channelLimit |
maximum number of channels allowed for connected peers | |
enet_uint32 | serviceTime |
ENetList | dispatchQueue |
int | continueSending |
size_t | packetSize |
enet_uint16 | headerFlags |
ENetProtocol | commands [ENET_PROTOCOL_MAXIMUM_PACKET_COMMANDS] |
size_t | commandCount |
ENetBuffer | buffers [ENET_BUFFER_MAXIMUM] |
size_t | bufferCount |
ENetChecksumCallback | checksum |
callback the user can set to enable packet checksums for this host | |
ENetCompressor | compressor |
enet_uint8 | packetData [2][ENET_PROTOCOL_MAXIMUM_MTU] |
ENetAddress | receivedAddress |
enet_uint8 * | receivedData |
size_t | receivedDataLength |
enet_uint32 | totalSentData |
total data sent, user should reset to 0 as needed to prevent overflow | |
enet_uint32 | totalSentPackets |
total UDP packets sent, user should reset to 0 as needed to prevent overflow | |
enet_uint32 | totalReceivedData |
total data received, user should reset to 0 as needed to prevent overflow | |
enet_uint32 | totalReceivedPackets |
total UDP packets received, user should reset to 0 as needed to prevent overflow | |
ENetInterceptCallback | intercept |
callback the user can set to intercept received raw UDP packets |
No fields should be modified unless otherwise stated.