Boost C++ 库

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

basic_raw_socket::open - Boost C++ 函数库
PrevUpHomeNext

使用指定的协议打开套接字。

void open(
    const protocol_type & protocol = protocol_type());
  » more...

void open(
    const protocol_type & protocol,
    boost::system::error_code & ec);
  » more...

PrevUpHomeNext