[Boost.Asio] Can I move io_context away while having sockets bound to it?
B Aleck via Boost-users <[email protected]>
| Newsgroups | gmane.comp.lib.boost.user |
|---|---|
| Message-ID | <MEAPR01MB3640CA7D67521193702CC7D68C179@MEAPR01MB3640.ausprd01.prod.outlook.com> |
You created serveral sockets and bound them to an io_context Is it safe to std::move the io_context away? Will those sockets be affected, or even be invalidated?