|Initializes a peer based on a native C peer.
|Gets the host associated with this peer.
|Returns true if the peer is initialized.
|Gets or sets the native C peer.
|Gets the peer state.
|Gets or sets the user data associated with this peer.
|Configures throttling. ENet measures lag over an interval, and alters its throttle parameter based on individual packet round-trip times versus the mean. This parameter controls the probability ENet will drop an unreliable packet. If a packet has a smaller round-trip time than average, the parameter is increased by the acceleration term, causing less packets to be dropped. If a packet has a larger round-trip time than average, the parameter is decreased by the deceleration term, causing more packets to be dropped.
|Gracefully disconnects from the remote computer. A disconnect event occurs.
|Gracefully disconnects from the remote computer after all outgoing data has been sent. A disconnect event occurs.
|Immediately disconnects from the remote computer. A disconnect packet is sent unreliably. No event occurs.
|Gets the remote address.
|GetType (inherited from Object)
|Sends a ping to the remote computer.
|Dequeue a received packet.
|Resets the connection to the remote computer. No disconnect packets are sent, and no event occurs.
|Overloaded. Enqueues a packet for sending using the given data and flags.
|Sets the interval between pings. ENet will automatically send pings when it hasn't received anything from the remote computer.
|Sets timeouts for a response from the remote computer acknowledging its receipt of a reliable packet. When the timeouts are exceeded, a disconnect event occurs.
|ToString (inherited from ValueType)