Top "Boost-asio" questions

Boost.

io_service, why and how is it used?

Trying to learn asio, and I'm following the examples from the website. Why is io_service needed and what does …

c++ boost boost-asio
boost::asio::ip::tcp::socket is connected?

I want to verify the connection status before performing read/write operations. Is there a way to make an isConnect() …

c++ sockets boost-asio
Why do we need to use boost::asio::io_service::work?

There is an example of using boost::asio. Why does this example use the boost::asio::io_service::work ? And …

c++ boost-asio
asio::read with timeout

I need to know how to read (sync or async doesn't matters) with a timeout. I want to check if …

c++ boost timeout serial-port boost-asio
Thread pool using boost asio

I am trying to create a limited thread pool class using boost::asio. But I am stuck at one point …

c++ threadpool boost-asio
What's the deal with boost.asio and file i/o?

I've noticed that boost.asio has a lot of examples involving sockets, serial ports, and all sorts of non-file examples. …

c++ boost file-io boost-asio
boost::asio read n bytes from socket to streambuf

I have a serialized structure, which is being sent via socket. I need to read it in chunks, since one …

c++ boost boost-asio boost-serialization streambuf
boost::asio::socket thread safety

( This is a simplified version of my original question ) I have several threads that write to a boost asio socket. …

c++ boost boost-asio
Working with boost::asio::streambuf

Looking for a boost::asio (and with himself boost) decided to write asynchronous server. To store incoming data I use …

c++ boost-asio streambuf
boost shared_from_this<>()

could someone summarize in a few succinct words how the boost shared_from_this<>() smart pointer should be …

c++ boost boost-asio boost-bind