Boost C++ 库

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

basic_stream_socket::connect - Boost C++ 函数库
PrevUpHomeNext

将套接字连接到指定的端点。

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

void connect(
    const endpoint_type & peer_endpoint,
    boost::system::error_code & ec);
  » more...

PrevUpHomeNext