iv></div></div>
<p>
            Set an option on the socket.
          </p>
<pre class="programlisting">template&lt;
    typename <a class="link" href="../../SettableSocketOption.html" title="Settable socket option requirements">SettableSocketOption</a>&gt;
void set_option(
    const SettableSocketOption &amp; option);
</pre>
<p>
            This function is used to set an option on the socket.
          </p>
<h6>
<a name="boost_asio.reference.basic_socket.set_option.overload1.h0"></a>
            <span cla