boost-asio
How to manually place data in a boost::asio::streambuf to later read it with a std::istream?
I am trying to use a std::istream as data source. I want to place custom binary data in the istream\'s stream buffer so it can later be retrieved from the istream.[详细]
2023-03-13 11:20 分类:问答Cooperation between boost::asio and standard C socket interface
I\'m currently working on a small project: there\'s a protocol for sending some strings via UDP implemented with standard C interface.[详细]
2023-03-13 05:04 分类:问答enumerating ipv4 and ipv6 address of my cards using boost asio
I am trying to enumerate ipv4 and ipv6 addresses of all the network cards(I have 2 cards) my pc. I am using the following code to do that.[详细]
2023-03-12 17:04 分类:问答tr1::bad_weak_ptr [duplicate]
This question already has answers here: 开发者_开发百科 Closed 11 years ago. Possible Duplicate: enable_shared_from_this - empty internal weak pointer?[详细]
2023-03-12 03:19 分类:问答How to Optimize Client/Server with C/C++ and Boost Asio
I have two applications which work like a TCP client/server. First application is the client which uses OpenCV to detect and send commands via TCP to the Server which controls a mobile robot.[详细]
2023-03-11 06:14 分类:问答Wrapping parts of boost::asio in a C library - for use on embedded Linux
I\'m looking for a good ( and simple ) sockets library that I can incorporate into an XMPP client I am building in C for embedded Linux.[详细]
2023-03-10 21:52 分类:问答c++ boost asio asynchronous functions wont work inside dll
I have this simple boost asio code based on the tutorial which works fine when called from within an exe but crashes when ran from within a dll using LoadLibrary. It crashes inside the boost code not[详细]
2023-03-10 17:43 分类:问答How to avoid the program exit after Connection Refused with Boost Asio and C/C++
At the moment, I\'m using Boost Asio in order to connect to a server via TCP. I use a conditional case to decide if the application has to start or not a connection with the server; it works great bu[详细]
2023-03-10 11:53 分类:问答Connect to a socket in C++ and Boost Asio in conditional case
I have an application which acts like a client which uses Boost Asio in order to connect to a server.[详细]
2023-03-10 09:23 分类:问答how can it do other work except "async_wait" in one single thread using boost.asio.deadline_timer
I rewrite a boost.asio example \"Timer.3 - Binding arguments to a handler\". I think \"worker\" can work forever and \"print\" can be called each second. But \"print\" only is called once. It is very[详细]
2023-03-10 03:58 分类:问答