Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The class <a href="http://www.boost.org/doc/libs/1_42_0/boost/asio/local/stream_protocol.hpp" rel="nofollow noreferrer"><code>stream_protocol</code></a> defines no inner <code>resolver_query</code> type. That member type is needed for the <a href="http://www.boost.org/doc/libs/1_42_0/boost/asio/basic_socket_streambuf.hpp" rel="nofollow noreferrer"><code>connect</code> function</a>. The <code>connect</code> function is called inside the constructor with parameters of <a href="http://www.boost.org/doc/libs/1_42_0/boost/asio/basic_socket_iostream.hpp" rel="nofollow noreferrer"><code>basic_socket_iostream</code></a>. It seems to me, that the <code>stream_protocol</code> was not meant to act as a <code>iostream</code>. If you look into the <a href="http://www.boost.org/doc/libs/1_42_0/boost/asio/local/stream_protocol.hpp" rel="nofollow noreferrer"><code>stream_protocol</code></a> header you even see an <code>#if !defined(BOOST_NO_IOSTREAM)</code> around the inner <code>iostream</code> type. So try to use <code>endpoint</code>, <code>socket</code> or <code>acceptor</code> instead.</p> <p>EDIT: If you used a string, try connecting to an <code>stream_protocol::endpoint</code> instead. Using something different than an <code>stream_protocol::endpoint</code> will result definitely in this error. If this doesn't help first construct the object and after after that, use the <code>connect</code> method to connect to an endpoint.</p> <p>EDIT: For examples of how to use <code>stream_local</code> try the <a href="http://www.boost.org/doc/libs/1_38_0/doc/html/boost_asio/example/local/stream_server.cpp" rel="nofollow noreferrer">official example</a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload