asio C++ library

PrevUpHomeNext

basic_datagram_socket::basic_datagram_socket

Construct a basic_datagram_socket without opening it.

explicit basic_datagram_socket(
    const executor_type & ex);
  » more...

template<
    typename ExecutionContext>
explicit basic_datagram_socket(
    ExecutionContext & context,
    typename constraint< is_convertible< ExecutionContext &, execution_context & >::value >::type  = 0);
  » more...

Construct and open a basic_datagram_socket.

basic_datagram_socket(
    const executor_type & ex,
    const protocol_type & protocol);
  » more...

template<
    typename ExecutionContext>
basic_datagram_socket(
    ExecutionContext & context,
    const protocol_type & protocol,
    typename constraint< is_convertible< ExecutionContext &, execution_context & >::value, defaulted_constraint >::type  = defaulted_constraint());
  » more...

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

basic_datagram_socket(
    const executor_type & ex,
    const endpoint_type & endpoint);
  » more...

template<
    typename ExecutionContext>
basic_datagram_socket(
    ExecutionContext & context,
    const endpoint_type & endpoint,
    typename constraint< is_convertible< ExecutionContext &, execution_context & >::value >::type  = 0);
  » more...

Construct a basic_datagram_socket on an existing native socket.

basic_datagram_socket(
    const executor_type & ex,
    const protocol_type & protocol,
    const native_handle_type & native_socket);
  » more...

template<
    typename ExecutionContext>
basic_datagram_socket(
    ExecutionContext & context,
    const protocol_type & protocol,
    const native_handle_type & native_socket,
    typename constraint< is_convertible< ExecutionContext &, execution_context & >::value >::type  = 0);
  » more...

Move-construct a basic_datagram_socket from another.

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

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

template<
    typename Protocol1,
    typename Executor1>
basic_datagram_socket(
    basic_datagram_socket< Protocol1, Executor1 > && other,
    typename constraint< is_convertible< Protocol1, Protocol >::value &&is_convertible< Executor1, Executor >::value >::type  = 0);
  » more...

PrevUpHomeNext