code class="mendoza-code">net/accept</code> on a server, and
only call <code class="mendoza-code">net/read</code> on a socket.
</p>
<h2 id="Clients-and-Servers">Clients and Servers
</h2>
<p>In the following sections, we use "client" to mean a program that initiates communication with another
program across a network, the "server", which can respond to this communication (or ignore it).
</p>
<h2 id="TCP-(Stream-sockets)">TCP (Stream sockets)
</h2>
<p>Stream sockets provide an ordered, reliable sequence of by