&#47;&#47; Start listening for incoming data.
    _socket?.listen(_onData);
  } catch (e) {
    &#47;&#47; Log any errors that occur during startup.
    logger?.call(e.toString());
  }
}</code></pre>
</section>


  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
    <!-- The search input and breadcrumbs below are only responsively visible at low resolutions. -->
<header id="header-search-sidebar" class="hidden-l">
  <form class="search-sidebar" role="