            </p>
              </td>
</tr>
</tbody>
</table></div>
<p>
        The <a class="link" href="basic_socket.html" title="basic_socket"><code class="computeroutput">basic_socket</code></a>
        class template provides functionality that is common to both stream-oriented
        and datagram-oriented sockets.
      </p>
<h5>
<a name="boost_asio.reference.basic_socket.h4"></a>
        <span class="phrase"><a name="boost_asio.reference.basic_socket.thread_safety"></a></span><a class="link" href="ba