cket_base::linger option;
socket.get_option(option);
bool is_set = option.enabled();
unsigned short timeout = option.timeout();
</pre>
<h6>
<a name="boost_asio.reference.basic_raw_socket.linger.h1"></a>
          <span class="phrase"><a name="boost_asio.reference.basic_raw_socket.linger.requirements"></a></span><a class="link" href="linger.html#boost_asio.reference.basic_raw_socket.linger.requirements">Requirements</a>
        </h6>
<p>
          <span class="emphasis"><em>Header: </em></span><code class="l