asio icon indicating copy to clipboard operation
asio copied to clipboard

Asio C++ Library

Results 318 asio issues
Sort by recently updated
recently updated
newest added

hi, I wrote a simple test case about strand, but there is an unexpected phenomenon. To put it simply, I constructed a thread pool with one io_context, and multiple strands....

If you look into all sources that have at least a test on `__CYGWIN__` macro, you will see that there is always `ASIO_WINDOWS` too. So, I'm wondering what you will...

I didn't find it in the repository. Thanks!🙃

Commit 2d3a4c9fcdeeea48dc6974389b4c5167da9e34f7 introduces #push_macro and #undef to defend agaist Qt macros (emit, signal, slot) within the boost::asio headers. On gcc anc clang the macros are restored with a #pop_macro at...

Yielding a `struct` with one single `std::string` as a member causes to program to crash if the value is constructed in-place: ```cpp // crash: co_yield My_struct{ "some string" }; //...

I'm writing a SocketCAN wrapper for ASIO. Considering the following piece of code (also tested with latest standalone ASIO): ```c++ #include #include namespace can { class endpoint; class raw {...

I build my example `test.cc`: ```cpp #include #include #include #include int main(int argc, char* argv[]) { boost::asio::io_context ioc; try { boost::asio::spawn(ioc, [&](auto yc) { try { throw std::logic_error("le"); } catch...

just reposting from here https://stackoverflow.com/questions/72741428/boost-asio-parallel-group-per-operation-cancellation --- below is a snippet of small producer/consumer example ```cpp #include #include #include #include #include #include #include using namespace boost::asio::experimental::awaitable_operators; template struct Channel : public...

i got this error with boost/1.77, gcc 7.3.1; i did some digging and found: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83662 but I can't upgrade compiler due to company policy; is there any way 'elegant' to...

boost version: 1.78.0 compiler: gcc version 11.2.1 20220127 (Red Hat 11.2.1-9) (GCC) Minimal example, invalid free occurs inside work function: ``` #include #include #include #include #include using boost::asio::co_spawn; using boost::asio::detached;...