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 |
| int | recalculateBandwidthLimits |
| ENetPeer * | peers |
| array of peers allocated for this host | |
| size_t | peerCount |
| number of peers allocated for this host | |
| enet_uint32 | serviceTime |
| ENetPeer * | lastServicedPeer |
| 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 |
| ENetAddress | receivedAddress |
| enet_uint8 | receivedData [ENET_PROTOCOL_MAXIMUM_MTU] |
| size_t | receivedDataLength |
No fields should be modified.
1.6.1