Object
ENetPeer
ChannelCount | Returns the channel count on the peer. |
CustomData | Sets or gets custom data on the peer. |
Host | Returns the host address of the connected peer. |
LastRoundTripTime | Gets last round trip time in milliseconds. |
LowestRoundTripTime | Gets lowest round trip time in milliseconds. |
PacketLoss | Gets mean packet loss of reliable packets as a ratio with respect to the constant 65536. |
PacketLossVariance | Gets variance of packet loss. |
Port | Returns the port number of the connected peer. |
RoundTripTime | Mean round trip time (RTT), in milliseconds, between sending a reliable packet and receiving its acknowledgement |
RoundTripTimeVariance | Variance of round trip time |
Disconnect | Request a disconnection from a peer. |
DisconnectLater | Disconnects next time there is good time for the service to disconnect. |
DisconnectNow | Disconnects right away. |
PeerTimeout | Sets the timeout parameters for a peer. |
Ping | Ping requests factor into the mean round trip time as designated by the RoundTripTime field in the ENetPeer structure. |
PingInterval | Sets the interval at which pings will be sent to a peer. |
ThrottleConfigure | Configure throttle probability for unreliable packets. |
Write | Writes a reliable packet to send, taking the data in as ENetPacket. |
Write | Writes a reliable packet to send, taking the data in as string. |
Write | Writes packet to send using specific flags, taking the data in as string. |
Version = 3.0 |