Using boost::asio::async_read with stdin?

前端 未结 1 1078
隐瞒了意图╮
隐瞒了意图╮ 2020-12-06 08:17

short question: I have a realtime-simulation which is running as a backround process and is connected with pipes to the calling pogramm. I want to send commands to that proc

1条回答
  •  我在风中等你
    2020-12-06 08:24

    Look at boost::asio::posix::stream_descriptor

    http://www.boost.org/doc/libs/release/doc/html/boost_asio/example/cpp03/chat/posix_chat_client.cpp

    0 讨论(0)
提交回复
热议问题