>
          <span class="phrase"><a name="boost_asio.reference.basic_seq_packet_socket.broadcast.examples"></a></span><a class="link" href="broadcast.html#boost_asio.reference.basic_seq_packet_socket.broadcast.examples">Examples</a>
        </h6>
<p>
          Setting the option:
        </p>
<pre class="programlisting">boost::asio::ip::udp::socket socket(io_context);
...
boost::asio::socket_base::broadcast option(true);
socket.set_option(option);
</pre>
<p>
          Getting the current option value:
     