asio C++ library

PrevUpHomeNext

raw_socket_service::assign

Assign an existing native socket to a raw socket.

asio::error_code assign(
    implementation_type & impl,
    const protocol_type & protocol,
    const native_handle_type & native_socket,
    asio::error_code & ec);

PrevUpHomeNext