<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_datagram_socket::open</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_datagram_socket::open</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../basic_datagram_socket.html" title="basic_datagram_socket">
<link rel="prev" href="non_blocking_io.html" title="basic_datagram_socket::non_blocking_io">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../basic_datagram_socket.html" title="basic_datagram_socket">
<link rel="prev" href="non_blocking_io.html" title="basic_datagram_socket::non_blocking_io">
Open the socket using the specified protocol.
</p>
<pre class="programlisting"><span class="keyword">void</span> <a class="link" href="open/overload1.html" title="basic_datagram_socket::open (1 of 2 overloads)">open</a><span class="special">(</span>
Open the socket using the specified protocol.
</p>
<pre class="programlisting"><span class="keyword">void</span> <a class="link" href="open/overload1.html" title="basic_datagram_socket::open (1 of 2 overloads)">open</a><span class="special">(</span>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>