Top "Boost-asio" questions

Boost.

Official "Boost library" Support for Android and iOS?

This question is in continuation to Should I choose Boost Asio or Aysnc Socket threads in Android? asked, Boost libraries …

android ios boost android-ndk boost-asio
Boost::asio winsock and winsock 2 compatibility issue

My project uses windows.h in which winsock.h is used, and I need to include boost:assio which uses …

c++ boost-asio winsock c-preprocessor winsock2
Boost asio io_service dispatch vs post

Can anyone tell me the difference between io_service dispatch and post? It was not clear to me what is …

c++ boost boost-asio
Boost::Asio : io_service.run() vs poll() or how do I integrate boost::asio in mainloop

I am currently trying to use boost::asio for some simple tcp networking for the first time, and I allready …

c++ networking tcp boost-asio
boost::threadpool::pool vs.boost::thread_group

I'm trying to understand the different use cases. and the difference between the 2 thread uses. This is a great tutorial …

c++ multithreading boost-asio boost-thread
boost asio async_write : how to not interleaving async_write calls?

Here's my implementation : Client A send a message for Client B Server process the message by async_read the right …

c++ asynchronous boost-asio
How to asynchronously read to std::string using Boost::asio?

I'm learning Boost::asio and all that async stuff. How can I asynchronously read to variable user_ of type std::…

string boost asynchronous boost-asio
boost::asio::buffer: Getting the buffer size and preventing buffer overflow?

I have the two following functions for sending and receiving packets. void send(std::string protocol) { char *request=new char[…

c++ boost-asio buffer-overflow
How do I cleanly reconnect a boost::socket following a disconnect?

My client application uses a boost::asio::ip::tcp::socket to connect to a remote server. If the app loses …

c++ sockets boost boost-asio
Boost asio - stopping io_service

I'm using boost::asio to do some very basic UDP packet collection. The io_service object is instantiated in a …

c++ boost boost-asio