n>, </span> <span class="parameter" id="connect-param-timeout"><span class="type-annotation"><a href="dart-core/Duration-class.html">Duration</a></span> <span class="parameter-name">timeout</span></span> })
    </section>
    <section class="desc markdown">
      <p>Creates a new socket connection to the host and port and returns a <a href="dart-async/Future-class.html">Future</a>
that will complete with either a <a href="dart-io/RawSocket-class.html">RawSocket</a> once connected or an error
if the host-loo