This commit is contained in:
2024-10-21 18:11:35 +03:00
parent b8fdae9d16
commit 0d62c9defc
9 changed files with 247 additions and 68 deletions

View File

@@ -40,7 +40,9 @@ int main()
acc.asyncAccept([](std::error_code ec, auto srv) {
if (!ec) {
receive(std::move(srv));
auto sptr = std::make_shared<srv_t>(std::move(srv));
receive(sptr);
// receive(std::move(srv));
} else {
std::cout << "ACCEPT ERR: " << ec.message() << "\n";
}