asio C++ library

PrevUpHomeNext

basic_raw_socket::basic_raw_socket

Construct a basic_raw_socket without opening it.

explicit basic_raw_socket(
    asio::io_context & io_context);
  » more...

Construct and open a basic_raw_socket.

basic_raw_socket(
    asio::io_context & io_context,
    const protocol_type & protocol);
  » more...

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

basic_raw_socket(
    asio::io_context & io_context,
    const endpoint_type & endpoint);
  » more...

Construct a basic_raw_socket on an existing native socket.

basic_raw_socket(
    asio::io_context & io_context,
    const protocol_type & protocol,
    const native_handle_type & native_socket);
  » more...

Move-construct a basic_raw_socket from another.

basic_raw_socket(
    basic_raw_socket && other);
  » more...

Move-construct a basic_raw_socket from a socket of another protocol type.

template<
    typename Protocol1>
basic_raw_socket(
    basic_raw_socket< Protocol1 > && other,
    typename enable_if< is_convertible< Protocol1, Protocol >::value >::type *  = 0);
  » more...

PrevUpHomeNext