NetworkedMultiplayerENet.closeConnection

Closes the connection. Ignored if no connection is currently established. If this is a server it tries to notify all clients before forcibly disconnecting them. If this is a client it simply closes the connection to the server.

struct NetworkedMultiplayerENet
@nogc nothrow
void
closeConnection
(
in long wait_usec = 100
)

Meta