net/shutdown">net/shutdown</a> <a href="#net/write">net/write</a> </p><hr><div class="binding"><span id="net/accept" class="binding-sym">net/accept</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#L753">source</a></span> <pre class="binding-text">(net/accept stream &amp;opt timeout)

Get the next connection on a server stream. This would usually be called in a loop in a dedicated fiber. Takes an optional ti