public void Ping() => LibENet.PeerPing(Unsafe);
/// <summary> /// Sends a ping request to the peer. /// </summary> /// <remarks> /// From offical doc: /// Ping requests factor into the mean round trip time as designated by the roundTripTime field in the ENetPeer structure. /// ENet automatically pings all connected peers at regular intervals, /// however, this function may be called to ensure more frequent ping requests. /// </remarks> public void Ping() { ThrowIfNull(); LibENet.PeerPing(m_Native); }