Socket.close

Immediately drop any connections and release socket resources. The Socket object is no longer usable after close. Calling shutdown before close is recommended for connection-oriented sockets.

class Socket
scope @trusted nothrow @nogc
void
close
()

Meta