and <code class="mendoza-code">net/read</code> to send and receive datagrams from the server (or <code class="mendoza-code">:write</code> and 
<code class="mendoza-code">:read</code>).
</p>
<pre class="mendoza-codeblock"><code data-language="janet">(<span class="mdzsyn-coresym">def</span> <span class="mdzsyn-symbol">conn</span> (<span class="mdzsyn-coresym">net/connect</span> <span class="mdzsyn-string">"127.0.0.1"</span> <span class="mdzsyn-string">"8009"</span> <span class="mdzsyn-keyword">:datagram</span