Object
ENetServer
![]() | The default constructor for the ENetServer host. |
![]() | Returns last error code that happened. |
![]() | Returns the number of maximum allowed peers. |
![]() | Returns the number of currently connected peers. |
![]() | Gets or sets total data received. |
![]() | Gets or sets total UDP packets received. |
![]() | Gets or sets total data sent. |
![]() | Gets or sets total UDP packets sent. |
![]() | Broadcasts a packet to all connected peers using a string packet. |
![]() | Broadcasts a packet to all connected peers using an ENetPacket. |
![]() | Disconnects a specific peer. |
![]() | Disconnects all peers and stops listening. |
![]() | Used to loop through all peers. Use MoveFirstPeer to move the cursor to the first peer then use GetNextPeer to get next peer until it returns nil. |
![]() | Listens for ENet connections on a specific port, using specific amount of channels. |
![]() | Moves the the cursor that is used to loop through peers to the first peer. |
![]() | Pools the server pool of peers, taking in a parameter that asks for how long to wait for events in milliseconds. |
![]() | Pools the server pool of peers. This variation of the Poll method does not wait for events. |
![]() | This event is fired when a new connection is made. |
![]() | Used this event if you want to have a class that is derived from ENetPeer that adds your own custom properties as the Peer class for the connection. |
![]() | This event is fired when packet is available if and only if there was no PacketvAvailable event. |
![]() | This event is fired when a peer is disconnected. |
![]() | Notifies that a packet is available. |
![]() | A version constant returning version of the plugin to aid conditional compile macros. |