ENet Class Library for C#

Peer.Reset Method

Resets the connection to the remote computer. No disconnect packets are sent, and no event occurs.

[Visual Basic]
Public Sub Reset()
[C#]
public void Reset();

Exceptions

Exception Type Condition
InvalidOperationException The peer is not initialized.

See Also

Peer Class | ENet Namespace