>
<p>
          <a class="indexterm" name="boost_asio.indexterm.basic_stream_socket.set_option"></a> 
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 <a class="link" href="set_option/overload1.html" title="basic_stream_socket::set_option (1 of 2 overloads)">set_option</a>(
    const SettableSocketOption &amp; option);
  <s