Disconnect
This function disconnects a client from the server.
Syntax
- void Disconnect(Peer* peer, const bool force = false)
Parameters
- peer: the client to disconnect.
- force: if set to true, the client will be immediately disconnected. This should not be used unless the connection is "stuck".