c++ Programming Glossary: null_buffers
boost asio buffer lazy allocation http://stackoverflow.com/questions/14204901/boost-asio-buffer-lazy-allocation resource is needed can be accomplished using boost asio null_buffers . null_buffers can be used to obtain reactor style operations.. needed can be accomplished using boost asio null_buffers . null_buffers can be used to obtain reactor style operations within Boost.Asio... ... socket.non_blocking true ... socket.async_read_some null_buffers read_handler ... void read_handler boost system error_code ec..
Async wait on file descriptor using Boost Asio http://stackoverflow.com/questions/4686127/async-wait-on-file-descriptor-using-boost-asio improve this question This is precisely the problem null_buffers was designed for. Sometimes a program must be integrated with.. itself. To facilitate this Boost.Asio includes a null_buffers type that can be used with both read and write operations. A.. that can be used with both read and write operations. A null_buffers operation doesn't return until the I O object is ready to perform..
|