Socket.shutdown

void shutdown(SocketShutdown how) @trusted nothrow @nogc

Disables sends and/or receives.