Boost C++ 库

...世界上最受推崇、设计最精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ Coding Standards

basic_socket_acceptor::assign (2 个重载中的 1 个) - Boost C++ 函数库
PrevUpHomeNext

将现有原生接受器分配给接受器。

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

PrevUpHomeNext