boost-asio
Boost asio architecture document
Does anyone know about a good architecture document开发者_如何学C for boost asio? All I find in the boost::documentation is about the api and how to use them. I would like to have a deeper understandi[详细]
2023-03-22 03:11 分类:问答How can I use boost asio sockets for full duplex streaming efficiently?
I\'m writing a performance-critical bidirectional streaming server using boost.asio. The server works this way :[详细]
2023-03-21 18:30 分类:问答Sending Data To Socket is Causing an Exception
When I call the start_receive() method in the code belo开发者_Go百科w without the _outSocket.send() call, the method receives data from the socket with no issues, but when I try to send the data out o[详细]
2023-03-21 14:24 分类:问答sending a serialized type over a boost-asio socket connection using boost serialization
I am trying to send 1kb of data from a \"server\" to a \"client\", but I just can\'t get it right. There are a few things that I NEED to do in this:[详细]
2023-03-21 11:39 分类:问答Check if boost::asio buffer data is present before read()
I\'m trying to port a piece of software I wrote with Unix sockets to a version with TCP sockets, using boost::asio. The program is intended to run on a Linux machine.[详细]
2023-03-21 03:21 分类:问答eof error reading pieces of text file and writing to boost.asio socket
I\'m trying to read a file 1kB at a time and write each piece of data to a socket using boost.asio.The problem is that when I need to read the last piece of data from the text file and put it in the b[详细]
2023-03-21 00:04 分类:问答boost asio receive() vs read()
There are two types of reading-from-stream f开发者_开发技巧unctions for boost::asio::ip::tcp::socket. I am assuming they their semantics vary. Could someone please outline them, the documentation I ha[详细]
2023-03-20 21:13 分类:问答How to set local endpoint when using boost asio udp socket
I have 3 network interfaces on pc and want to make sure that when I do ud开发者_StackOverflow社区p socket send, it sends via a specific network interface ( I have the ip address to use when sending da[详细]
2023-03-20 12:52 分类:问答Boost ASIO socket read N bytes not more not less and wait until they come or timeout exception?
Creating a simple TCP server based on examples but still do not get how to create a socket that would read some amount of bytes and if there will not be enough would wait. I need this to be NOT asynch[详细]
2023-03-20 08:12 分类:问答Blocking cancel of pending async operations in Boost.Asio
开发者_如何学GoI have an object that receives callbacks from a boost::io_service, and for a few reasons I cannot post the callback via a shared pointer (yes, I know it\'s the official way to handle it[详细]
2023-03-20 02:37 分类:问答