Socket.close

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

class Socket
nothrow @trusted @nogc
void
close
()

Meta