Disconnect
This function connects to a server with the specified IP address and port. Unless the force parameter is set to true, the disconnection does not complete until a Disconnected message is received from a call to the Update() function.
Syntax
- void Disconnect(const bool force = false)
Parameters
- force: If set to true, the connection will be immediately terminated. This should not be used unless the connection is somehow stuck.