Structs§
- ENet
Acknowledgement - ENet
Address - Portable internet address structure.
- ENet
Channel - ENet
Compressor - An ENet packet compressor for compressing UDP packets before socket sends or receives.
- ENet
Event - An ENet event as returned by enet_host_service().
- ENet
Host - An ENet host for communicating with peers.
- ENet
Incoming Command - ENet
Outgoing Command - ENet
Packet - ENet packet structure.
- ENet
Peer - An ENet peer which data packets may be sent or received from.
Enums§
- ENet
Event Type - An ENet event type, as specified in
ENetEvent
. - ENet
Packet Flag - Packet flag bit constants.
- ENet
Peer Flag - ENet
Peer State - ENet
Socket Option - ENet
Socket Shutdown - ENet
Socket Type - ENet
Socket Wait
Constants§
- ENET_
HOST_ ANY - ENET_
HOST_ BANDWIDTH_ THROTTLE_ INTERVAL - ENET_
HOST_ BROADCAST - ENET_
HOST_ DEFAULT_ MAXIMUM_ PACKET_ SIZE - ENET_
HOST_ DEFAULT_ MAXIMUM_ WAITING_ DATA - ENET_
HOST_ DEFAULT_ MTU - ENET_
HOST_ RECEIVE_ BUFFER_ SIZE - ENET_
HOST_ SEND_ BUFFER_ SIZE - ENET_
PEER_ DEFAULT_ PACKET_ THROTTLE - ENET_
PEER_ DEFAULT_ ROUND_ TRIP_ TIME - ENET_
PEER_ FREE_ RELIABLE_ WINDOWS - ENET_
PEER_ FREE_ UNSEQUENCED_ WINDOWS - ENET_
PEER_ PACKET_ LOSS_ INTERVAL - ENET_
PEER_ PACKET_ LOSS_ SCALE - ENET_
PEER_ PACKET_ THROTTLE_ ACCELERATION - ENET_
PEER_ PACKET_ THROTTLE_ COUNTER - ENET_
PEER_ PACKET_ THROTTLE_ DECELERATION - ENET_
PEER_ PACKET_ THROTTLE_ INTERVAL - ENET_
PEER_ PACKET_ THROTTLE_ SCALE - ENET_
PEER_ PING_ INTERVAL - ENET_
PEER_ RELIABLE_ WINDOWS - ENET_
PEER_ RELIABLE_ WINDOW_ SIZE - ENET_
PEER_ TIMEOUT_ LIMIT - ENET_
PEER_ TIMEOUT_ MAXIMUM - ENET_
PEER_ TIMEOUT_ MINIMUM - ENET_
PEER_ UNSEQUENCED_ WINDOWS - ENET_
PEER_ UNSEQUENCED_ WINDOW_ SIZE - ENET_
PEER_ WINDOW_ SIZE_ SCALE - ENET_
PORT_ ANY - ENET_
VERSION_ MAJOR - ENET_
VERSION_ MINOR - ENET_
VERSION_ PATCH
Functions§
- enet_
address_ ⚠get_ host - Attempts to do a reverse lookup of the host field in the address parameter.
- enet_
address_ ⚠get_ host_ ip - Gives the printable form of the IP address specified in the address parameter.
- enet_
address_ ⚠set_ host - Gives the printable form of the IP address specified in the address parameter.
- enet_
address_ ⚠set_ host_ ip - Attempts to parse the printable form of the IP address in the parameter hostName and sets the host field in the address parameter if successful.
- enet_
crc32 ⚠ - enet_
deinitialize ⚠ - Shuts down ENet globally. Should be called when a program that has initialized ENet exits.
- enet_
host_ ⚠bandwidth_ limit - enet_
host_ ⚠bandwidth_ throttle - enet_
host_ ⚠broadcast - enet_
host_ ⚠channel_ limit - enet_
host_ ⚠check_ events - enet_
host_ ⚠compress - enet_
host_ ⚠compress_ with_ range_ coder - enet_
host_ ⚠connect - enet_
host_ ⚠create - enet_
host_ ⚠destroy - enet_
host_ ⚠flush - enet_
host_ ⚠random_ seed - enet_
host_ ⚠service - enet_
initialize ⚠ - Initializes ENet globally. Must be called prior to using any functions in ENet.
- enet_
initialize_ ⚠with_ callbacks - Initializes ENet globally and supplies user-overridden callbacks. Must be called prior to using any functions in ENet. Do not use enet_initialize() if you use this variant. Make sure the ENetCallbacks structure is zeroed out so that any additional callbacks added in future versions will be properly ignored.
- enet_
linked_ ⚠version - Gives the linked version of the ENet library.
- enet_
packet_ ⚠create - enet_
packet_ ⚠destroy - enet_
packet_ ⚠resize - enet_
peer_ ⚠disconnect - enet_
peer_ ⚠disconnect_ later - enet_
peer_ ⚠disconnect_ now - enet_
peer_ ⚠dispatch_ incoming_ reliable_ commands - enet_
peer_ ⚠dispatch_ incoming_ unreliable_ commands - enet_
peer_ ⚠on_ connect - enet_
peer_ ⚠on_ disconnect - enet_
peer_ ⚠ping - enet_
peer_ ⚠ping_ interval - enet_
peer_ ⚠queue_ acknowledgement - enet_
peer_ ⚠queue_ incoming_ command - enet_
peer_ ⚠queue_ outgoing_ command - enet_
peer_ ⚠receive - enet_
peer_ ⚠reset - enet_
peer_ ⚠reset_ queues - enet_
peer_ ⚠send - enet_
peer_ ⚠setup_ outgoing_ command - enet_
peer_ ⚠throttle - enet_
peer_ ⚠throttle_ configure - enet_
peer_ ⚠timeout - enet_
protocol_ ⚠command_ size - enet_
range_ ⚠coder_ compress - enet_
range_ ⚠coder_ create - enet_
range_ ⚠coder_ decompress - enet_
range_ ⚠coder_ destroy - enet_
socket_ ⚠accept - enet_
socket_ ⚠bind - enet_
socket_ ⚠create - enet_
socket_ ⚠destroy - enet_
socket_ ⚠get_ address - enet_
socket_ ⚠get_ option - enet_
socket_ ⚠listen - enet_
socket_ ⚠receive - enet_
socket_ ⚠send - enet_
socket_ ⚠set_ option - enet_
socket_ ⚠shutdown - enet_
socket_ ⚠wait - enet_
socketset_ ⚠select - enet_
time_ ⚠get - Returns the wall-time in milliseconds. Its initial value is unspecified unless otherwise set.
- enet_
time_ ⚠set - Sets the current wall-time in milliseconds.
Type Aliases§
- ENet
Checksum Callback - Callback that computes the checksum of the data held in buffers[0:bufferCount-1]
- ENet
Intercept Callback - Callback for intercepting received raw UDP packets. Should return 1 to intercept, 0 to ignore, or -1 to propagate an error.
- ENet
Packet Free Callback - ENet
Version