Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How I use only Asio of Boost Library?

how I use only the Asio of Boost Library without adding any other library? Is that possible?

In the Boost, don't have the folder called "lib" with the *.a files?

like image 889
Bruno Alano Avatar asked Jul 04 '11 20:07

Bruno Alano


People also ask

Is Boost ASIO header-only?

By default, Boost. Asio is a header-only library. However, some developers may prefer to build Boost. Asio using separately compiled source code.

Who is using Boost ASIO?

3 Answers. Show activity on this post. The systems software for managing an IBM Blue Gene/Q supercomputer uses Boost. Asio extensively.

Is Boost ASIO cross-platform?

Boost. Asio is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach.

Does Boost ASIO use Epoll?

For me, main advantage of Boost. Asio (besides cross-platform work) is, that on each platform, it uses most effective strategy ( epoll on Linux 2.6, kqueue on FreeBSD/MacOSX, Overlapped IO on MS Windows).


2 Answers

Asio exists as as standalone library, entirely independent of Boost (this is the "original").

No need to search together the bits from Boost subdirectories if you don't want to use Boost, just download Asio and use that. :-)

like image 63
Damon Avatar answered Nov 15 '22 15:11

Damon


Since Asio is a header-only library, there are no lib files associated with it. You can extract only the absolutly needed header files with bcp, which is included.

like image 21
Xeo Avatar answered Nov 15 '22 16:11

Xeo