oost_asio.reference.generic__datagram_protocol.h3"></a>
        <span class="phrase"><a name="boost_asio.reference.generic__datagram_protocol.examples"></a></span><a class="link" href="generic__datagram_protocol.html#boost_asio.reference.generic__datagram_protocol.examples">Examples</a>
      </h5>
<p>
        Constructing using a native address family and socket protocol:
      </p>
<pre class="programlisting">datagram_protocol p(AF_INET, IPPROTO_UDP);
</pre>
<p>
        Constructing from a specific protoc