Asio `io_service` -> `io_context` change

Author: zaphoydCreated Feb 4, 2016Updated Jan 23, 2026
LabelsAsio Transport

At some unspecified point in the future, asio will be changing the name of io_service to io_context. This is not present in any release builds yet, but is present on the development branch on github.

Need to figure out if there is a preprocessor define or versioning constant set up to allow cleanly detecting which versions use io_service and which io_context.