 <a href="dart-io/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/readClosed-constant.html">RawSocketEvent.readClosed</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