asio C++ library

PrevUpHomeNext

datagram_socket_service::connect

Connect the datagram socket to the specified endpoint.

asio::error_code connect(
    implementation_type & impl,
    const endpoint_type & peer_endpoint,
    asio::error_code & ec);

PrevUpHomeNext