_Io_Disconnect

Manually disconnect as Client or server / Disconnects a client

_Io_Disconnect($socket = Default)

Return Value

None

Remarks

This function will purge any previously set `_Io_LoopFacade` and cause `_Io_Loop` to return false. If the `$socket` parameter is set when running as a server, the id of that socket will be disconnected.

Related