示例#1
0
 public void Timeout(uint timeoutLimit, uint timeoutMinimum, uint timeoutMaximum) =>
 LibENet.PeerTimeout(Unsafe, timeoutLimit, timeoutMinimum, timeoutMaximum);
示例#2
0
        /// <summary>
        /// Sets the timeout parameters for a peer.
        /// </summary>
        /// <remarks>
        /// See enet_peer_timeout function documentation at http://enet.bespin.org/
        /// </remarks>
        public void Timeout(uint timeoutLimit, uint timeoutMinimum, uint timeoutMaximum)
        {
            ThrowIfNull();

            LibENet.PeerTimeout(m_Native, timeoutLimit, timeoutMinimum, timeoutMaximum);
        }