...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Construct a basic_socket without opening it.
basic_socket( boost::asio::io_service & io_service); basic_socket( boost::asio::io_service & io_service, const protocol_type & protocol); basic_socket( boost::asio::io_service & io_service, const endpoint_type & endpoint); basic_socket( boost::asio::io_service & io_service, const protocol_type & protocol, const native_type & native_socket);