Ejemplo n.º 1
0
 public void Reset()
 {
     LibENet.PeerReset(Unsafe);
     FreeHandle();
 }
Ejemplo n.º 2
0
        /// <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);
        }