Module: LibENet
- Extended by:
- FFI::Library
- Defined in:
- lib/ffi-enet.rb
Defined Under Namespace
Classes: ENetAddress, ENetBuffer, ENetCompressor, ENetEvent, ENetHost, ENetList, ENetListNode, ENetPacket, ENetPeer, ENetProtocol, ENetProtocolAcknowledge, ENetProtocolBandwidthLimit, ENetProtocolCommandHeader, ENetProtocolConnect, ENetProtocolDisconnect, ENetProtocolHeader, ENetProtocolPing, ENetProtocolSendFragment, ENetProtocolSendReliable, ENetProtocolSendUnreliable, ENetProtocolSendUnsequenced, ENetProtocolThrottleConfigure, ENetProtocolVerifyConnect
Constant Summary collapse
- ENET_PROTOCOL_MINIMUM_MTU =
“Constants”
576
- ENET_PROTOCOL_MAXIMUM_MTU =
4096
- ENET_PROTOCOL_MAXIMUM_PACKET_COMMANDS =
32
- ENET_PROTOCOL_MINIMUM_WINDOW_SIZE =
4096
- ENET_PROTOCOL_MAXIMUM_WINDOW_SIZE =
65536
- ENET_PROTOCOL_MINIMUM_CHANNEL_COUNT =
1
- ENET_PROTOCOL_MAXIMUM_CHANNEL_COUNT =
255
- ENET_PROTOCOL_MAXIMUM_PEER_ID =
0xFFF
- ENET_PROTOCOL_MAXIMUM_FRAGMENT_COUNT =
1024 * 1024
- ENET_BUFFER_MAXIMUM =
(1 + 2 * ENET_PROTOCOL_MAXIMUM_PACKET_COMMANDS)
- ENET_HOST_RECEIVE_BUFFER_SIZE =
256 * 1024, ENET_HOST_SEND_BUFFER_SIZE = 256 * 1024, ENET_HOST_BANDWIDTH_THROTTLE_INTERVAL = 1000, ENET_HOST_DEFAULT_MTU = 1392, ENET_HOST_DEFAULT_MAXIMUM_PACKET_SIZE = 32 * 1024 * 1024, ENET_HOST_DEFAULT_MAXIMUM_WAITING_DATA = 32 * 1024 * 1024, ENET_PEER_DEFAULT_ROUND_TRIP_TIME = 500, ENET_PEER_DEFAULT_PACKET_THROTTLE = 32, ENET_PEER_PACKET_THROTTLE_SCALE = 32, ENET_PEER_PACKET_THROTTLE_COUNTER = 7, ENET_PEER_PACKET_THROTTLE_ACCELERATION = 2, ENET_PEER_PACKET_THROTTLE_DECELERATION = 2, ENET_PEER_PACKET_THROTTLE_INTERVAL = 5000, ENET_PEER_PACKET_LOSS_SCALE = (1 << 16), ENET_PEER_PACKET_LOSS_INTERVAL = 10000, ENET_PEER_WINDOW_SIZE_SCALE = 64 * 1024, ENET_PEER_TIMEOUT_LIMIT = 32, ENET_PEER_TIMEOUT_MINIMUM = 5000, ENET_PEER_TIMEOUT_MAXIMUM = 30000, ENET_PEER_PING_INTERVAL = 500, ENET_PEER_UNSEQUENCED_WINDOWS = 64, ENET_PEER_UNSEQUENCED_WINDOW_SIZE = 1024, ENET_PEER_FREE_UNSEQUENCED_WINDOWS = 32, ENET_PEER_RELIABLE_WINDOWS = 16, ENET_PEER_RELIABLE_WINDOW_SIZE = 0x1000, ENET_PEER_FREE_RELIABLE_WINDOWS = 8
- ENetEventType =
Enums
enum( :ENET_EVENT_TYPE_NONE, :ENET_EVENT_TYPE_CONNECT, :ENET_EVENT_TYPE_DISCONNECT, :ENET_EVENT_TYPE_RECEIVE )
- ENetPeerState =
enum( :ENET_PEER_STATE_DISCONNECTED, :ENET_PEER_STATE_CONNECTING, :ENET_PEER_STATE_ACKNOWLEDGING_CONNECT, :ENET_PEER_STATE_CONNECTION_PENDING, :ENET_PEER_STATE_CONNECTION_SUCCEEDED, :ENET_PEER_STATE_CONNECTED, :ENET_PEER_STATE_DISCONNECT_LATER, :ENET_PEER_STATE_DISCONNECTING, :ENET_PEER_STATE_ACKNOWLEDGING_DISCONNECT, :ENET_PEER_STATE_ZOMBIE )