asio C++ library

PrevUpHomeNext

basic_socket_acceptor::assign

Assigns an existing native acceptor to the acceptor.

void assign(
    const protocol_type & protocol,
    const native_type & native_acceptor);

asio::error_code assign(
    const protocol_type & protocol,
    const native_type & native_acceptor,
    asio::error_code & ec);

PrevUpHomeNext