r `ev/close`.</pre><a href="https://janetdocs.org/net/close">Community Examples</a></div><hr><div class="binding"><span id="net/connect" class="binding-sym">net/connect</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#L380">source</a></span> <pre class="binding-text">(net/connect host port &amp;opt type bindhost bindport)

Open a connection to communicate with a server. Returns a duplex stream that can be u