id="net/shutdown" class="binding-sym">net/shutdown</span> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/c28df14/src/core/net.c#L537">source</a></span> <pre class="binding-text">(net/shutdown stream &amp;opt mode)

Stop communication on this socket in a graceful manner, either in both directions or just reading/writing from the stream. The `mode` parameter controls which communication to stop on the socket. 

* `:wr` is the default an