asio is a cross-platform C++ library for network programming that provides developers with a consistent asynchronous I/O model using a modern C++ approach. Licenseasio is released under the Boost Software License. Dependenciesasio requires Boost version 1.33 or later. There is no need to build any of the Boost libraries to use most of Boost.Asio, and only the header files are required. However, some overloads of read_until and async_read_until require the Boost.Regex library. (Note: with MSVC or Borland C++ you may need to add -DBOOST_ALL_NO_LIB to your project settings to disable autolinking of the Boost.Date_Time and Boost.Regex libraries.) To use asio's SSL support, OpenSSL is required. OpenSSL is not necessary to use the rest of asio. Using asioasio consists only of header files, and so there is no need to build any libraries before using asio in your own applications. You simply need to add the following directories to your compiler include path:
Supported Platformsasio supports the following platforms and compilers:
|