Registry / networking / asio
library1.32.0vcpkgunverified

Asio is a cross-platform C++ library for network and low-level I/O programming using a consistent asynchronous model.

vcpkg install asio
INSTALL
IMPORT
SIG · ASIO
A
asio
networkingcppv1.32.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

asio.hpp
#include <asio.hpp>

Create a timer that waits for 1 second synchronously.

#include <asio.hpp> #include <iostream> int main() { asio::io_context io; asio::steady_timer t(io, asio::chrono::seconds(1)); t.wait(); std::cout << "Hello, world!" << std::endl; return 0; }
Debug
Known issues
gotchaAsio has two variants: standalone (header-only) and Boost.Asio. Ensure you use the correct include path and link flags.
fix
For standalone Asio, use #include <asio.hpp> and link against asio::asio; for Boost.Asio, use #include <boost/asio.hpp> and link against Boost::asio.
affects: *
Upgrade
Version history
1.32.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
51 hits · last 30 days
node
44
Resources

No resource links recorded.

asio — pip install asio · libregistry