public void Reset() { LibENet.PeerReset(Unsafe); FreeHandle(); }
/// <summary> /// Forcefully disconnects a peer. /// </summary> /// <remarks> /// The foreign host represented by the peer is not notified of the disconnection and will timeout on its connection to the local host. /// </remarks> public void Reset() { ThrowIfNull(); LibENet.PeerReset(m_Native); }