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...