¡@

Home 

c++ Programming Glossary: stream_descriptor

Using boost::asio::async_read with stdin?

http://stackoverflow.com/questions/2831253/using-boostasioasync-read-with-stdin

share improve this question Look at boost asio posix stream_descriptor http www.boost.org doc libs release doc html boost_asio example..

Async wait on file descriptor using Boost Asio

http://stackoverflow.com/questions/4686127/async-wait-on-file-descriptor-using-boost-asio

thing. Currently I'm doing this using boost asio posix stream_descriptor void read_handle stream_descriptor desc const boost system error_code.. using boost asio posix stream_descriptor void read_handle stream_descriptor desc const boost system error_code ec std size_t bytes_read.. boost system error_code ec std size_t bytes_read if ec stream_descriptor bytes_readable command true descriptor io_control command std..

BOOST ASIO - How to write console server

http://stackoverflow.com/questions/5210796/boost-asio-how-to-write-console-server

thread You don't need a separate thread use a posix stream_descriptor and assign STDIN_FILENO to it. Use async_read and handle the.. cout command _command std endl this read private posix stream_descriptor _input char _command int main io_service io_service Input create..