I am trying to write a general async_task(Executor& executor, Token&& token, Fn&& func, Args&&... args) async initiating f ...
I am trying to write a general async_task(Executor& executor, Token&& token, Fn&& func, Args&&... args) async initiating f ...
I'm trying to write a very simple client/server app with boost::socket. I need a server to run and a single client to connect, send data, disconnect a ...
Current Scheme I am developing a Serial Port routine that will regard current receive transfer is complete if no new data is received for 25 milli-se ...
The thing is that I would like to create a global instance which I would be able to use separately by each coroutine to keep there, for instance, the ...
Do boost::asio c++20 coroutines support multithreading? The boost::asio documentation examples are all single-threaded, are there any multithreaded e ...
I have been using this example from boost for a single threaded server: https://www.boost.org/doc/libs/1_81_0/doc/html/boost_asio/example/cpp03/http/s ...
In thread pool, threads are reused to avoid thread creation and destruction. When the thread pool reuses a thread, it does not clear the data in threa ...
I would like to bypass system configured nameserver and use my own nameserver (or list of them) configured in application. I can do in nslookup in win ...
I'm trying to use asio in VSCode with C++. I keep getting the warning: fatal error: 'asio.hpp' file not found #include <asio.hpp> Using t ...
I would like to learn how to pass timeout timer to boost::asio::yield_context. Let's say, in terms of Boost 1.80, there is smth like the following: ...
I am using the asio library and I am trying to connect to a socket. Sometimes, the socket may take a very long time to connect. In that case, i just w ...
I'm trying to run a sample c++ program using crow but getting the error fatal error: asio.hpp: No such file or directory Installed crow using the ins ...
I'm trying to build project which uses standalone asio as dependency. Problem is that with exceptions turned off (-fno-exceptions), I have to define t ...
server.cpp #include <boost/asio.hpp> #include <vector> using boost::asio::ip::tcp; int main() { boost::asio::io_service ctx; std ...
I am new to Asio, so I am a little confused about the control flow of asynchronous operations. Let's see this server: In this case, all completion ...
I am trying to make a request to the Kraken API's AddOrder endpoint using Boost.Beast in C++. This is the endpoint I am trying to access : https://do ...
I linked boost to my project and using namespaces from boost/asio. Everything is compiled, but vscode cannot find the next namespaces: So there are ...
I'm currently trying to read data from websocket which takes user input. At the same time, I also write data to the websocket. It used to work when I ...
I've got simple io_context object which is used to initialize ssl_stream object (using async_resolve, async_connect and async_handshake). On a differ ...
I'm working on a RS485 communication class and I'm trying to make a function that reads until a certain char is on the line, but with a time out. The ...