Using SSL sockets and non-SSL sockets simultaneously in Boost.Asio?

前端 未结 4 1719
盖世英雄少女心
盖世英雄少女心 2020-12-24 06:58

I\'m in the process of converting a library to Boost.Asio (which has worked very well so far), but I\'ve hit something of a stumbling block with regards to a design decision

4条回答
  •  甜味超标
    2020-12-24 07:57

    It would compile with something like this:

    typedef boost::asio::buffered_stream Socket_t;

提交回复
热议问题