basic_raw_socket::basic_raw_socket

| Home | Libraries | People | FAQ | More

#### basic_raw_socket::basic_raw_socket

Construct a basic_raw_socket without opening it.

    basic_raw_socket(
        boost::asio::io_service & io_service);

Construct and open a basic_raw_socket.

    basic_raw_socket(
        boost::asio::io_service & io_service,
        const protocol_type & protocol);

Construct a basic_raw_socket, opening it and binding it to the given local endpoint.

    basic_raw_socket(
        boost::asio::io_service & io_service,
        const endpoint_type & endpoint);

Construct a basic_raw_socket on an existing native socket.

    basic_raw_socket(
        boost::asio::io_service & io_service,
        const protocol_type & protocol,
        const native_type & native_socket);