| ENet Class Library for C# |
|
Peer.DisconnectNow Method
Immediately disconnects from the remote computer. A disconnect packet is sent unreliably. No event occurs.
[Visual Basic]
Public Sub DisconnectNow( _
ByVal
data As
Integer _
)
[C#]
public
void DisconnectNow(
int data);
Parameters
-
data
- Data to send along with the disconnect packet.
Exceptions
See Also
Peer Class | ENet Namespace