| Home | Libraries | People | FAQ | More

#### basic_datagram_socket::basic_datagram_socket

Construct a `basic_datagram_socket` without opening it.

    explicit basic_datagram_socket(
        boost::asio::io_service & io_service);
      » more...

Construct and open a `basic_datagram_socket`.

    basic_datagram_socket(
        boost::asio::io_service & io_service,
        const protocol_type & protocol);
      » more...

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

    basic_datagram_socket(
        boost::asio::io_service & io_service,
        const endpoint_type & endpoint);
      » more...

Construct a `basic_datagram_socket` on an existing native socket.

    basic_datagram_socket(
        boost::asio::io_service & io_service,
        const protocol_type & protocol,
        const native_handle_type & native_socket);
      » 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 DatagramSocketService1>
    basic_datagram_socket(
        basic_datagram_socket< Protocol1, DatagramSocketService1 > && other,
        typename enable_if< is_convertible< Protocol1, Protocol >::value >::type *  = 0);
      » more...