IFiberSocketConnection.disconnect

Disconnects from provided address (if connected).

class IFiberSocketConnection
disconnect
(
bool force = false
)
out { assert (!this.connected_); }

Parameters

force bool

false: disconnect only if connected; true: force disconnect

Return Value

the connection status before disconnecting.

Meta