="dartdoc-main-content" class="col-xs-12 col-sm-9 col-md-8 main-content">
      <div><h1>receive method</h1></div>

    <section class="multi-line-signature">
      <span class="returntype"><a href="dart-io/Datagram-class.html">Datagram</a></span>
            <span class="name ">receive</span>
(<wbr>)
      
    </section>
    <section class="desc markdown">
      <p>Receive a datagram. If there are no datagrams available <code>null</code> is
returned.</p>
<p>The maximum length of the datagram that can be r