             </p>
</dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.basic_seq_packet_socket.async_connect.h1"></a>
          <span class="phrase"><a name="boost_asio.reference.basic_seq_packet_socket.async_connect.example"></a></span><a class="link" href="async_connect.html#boost_asio.reference.basic_seq_packet_socket.async_connect.example">Example</a>
        </h6>
<pre class="programlisting">void connect_handler(const boost::system::error_code&amp; error)
{
  if (!error)
  {
    // Connect succeeded.
