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

ip::basic_endpoint::basic_endpoint

Default constructor.

basic_endpoint();
  » more...

Construct an endpoint using a port number, specified in the host's byte order. The IP address will be the any address (i.e. INADDR_ANY or in6addr_any). This constructor would typically be used for accepting new connections.

basic_endpoint(
    const InternetProtocol & internet_protocol,
    unsigned short port_num);
  » more...

Construct an endpoint using a port number and an IP address. This constructor may be used for accepting connections on a specific interface or for making a connection to a remote endpoint.

basic_endpoint(
    const boost::asio::ip::address & addr,
    unsigned short port_num);
  » more...

Copy constructor.

basic_endpoint(
    const basic_endpoint & other);
  » more...

PrevUpHomeNext