| Home | Libraries | People | FAQ | More

#### basic_socket::basic_socket

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);