private void Reset() { if (this.peerPtr == IntPtr.Zero) { return; } NativeMethods.enet_peer_reset(this.peerPtr); this.peerPtr = IntPtr.Zero; }