Boost C++ 库

...世界上最受推崇和设计精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu,《C++ 编码规范

ip::basic_endpoint::basic_endpoint - Boost C++ 函数库
PrevUpHomeNext

默认构造函数。

basic_endpoint();
  » more...

使用端口号构造一个端点,端口号以主机字节序指定。IP 地址将是“any”地址(即 INADDR_ANY 或 in6addr_any)。此构造函数通常用于接受新连接。

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

使用端口号和 IP 地址构造一个端点。此构造函数可用于在特定接口上接受连接,或用于连接到远程端点。

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

复制构造函数。

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

移动构造函数。

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

PrevUpHomeNext