otation"><a href="dart-async/EventSink-class.html">EventSink</a><span class="signature">&lt;T&gt;</span></span> <span class="parameter-name">sink</span></span>)</span> })
            <span class="returntype parameter">&#8594; <a href="dart-async/Stream-class.html">Stream</a><span class="signature">&lt;<a href="dart-io/Socket-class.html">Socket</a>&gt;</span></span>
          </span>
        </dt>
        <dd class="inherited">
          Creates a new stream with the same events as this stream. <a href="dart