Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
basic_stream::connect

Connect the stream to the specified endpoint.

void
connect(
    endpoint_type const& ep);
  » more...

void
connect(
    endpoint_type const& ep,
    error_code& ec);
  » more...

Establishes a connection by trying each endpoint in a sequence.

template<
    class EndpointSequence>
Protocol::endpoint
connect(
    EndpointSequence const& endpoints);
  » more...

template<
    class EndpointSequence>
Protocol::endpoint
connect(
    EndpointSequence const& endpoints,
    error_code& ec);
  » more...

template<
    class Iterator>
Iterator
connect(
    Iterator begin,
    Iterator end);
  » more...

template<
    class Iterator>
Iterator
connect(
    Iterator begin,
    Iterator end,
    error_code& ec);
  » more...

template<
    class EndpointSequence,
    class ConnectCondition>
Protocol::endpoint
connect(
    EndpointSequence const& endpoints,
    ConnectCondition connect_condition);
  » more...

template<
    class EndpointSequence,
    class ConnectCondition>
Protocol::endpoint
connect(
    EndpointSequence const& endpoints,
    ConnectCondition connect_condition,
    error_code& ec);
  » more...

template<
    class Iterator,
    class ConnectCondition>
Iterator
connect(
    Iterator begin,
    Iterator end,
    ConnectCondition connect_condition);
  » more...

template<
    class Iterator,
    class ConnectCondition>
Iterator
connect(
    Iterator begin,
    Iterator end,
    ConnectCondition connect_condition,
    error_code& ec);
  » more...

PrevUpHomeNext