/SocketDirection/BOTH-constant.html">SocketDirection.BOTH</a> or <a href="dart-io/SocketDirection/RECEIVE-constant.html">SocketDirection.RECEIVE</a>
can result in a <a href="dart-io/RawSocketEvent/READ_CLOSED-constant.html">RawSocketEvent.READ_CLOSED</a> event.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span> </h2>
      <pre class="language-dart"><code class="language-dart">void shutdown(SocketDirection direction);</code></pre>
    </sectio