|
Boost Users : |
From: Damian Jarek (damian.jarek93_at_[hidden])
Date: 2019-06-24 19:51:09
https://github.com/boostorg/beast/issues/1639
https://github.com/boostorg/asio/issues/251
Note that `asio::io_context::strand` is an extension not available in the
Networking TS. `asio::strand<E>` is the "standard" type.
On Sat, Jun 22, 2019 at 10:32 AM Fiver Dev via Boost-users <
boost-users_at_[hidden]> wrote:
> Hello everyone,
>
> How do I create this strand using the io_context of the socket in boost
> 1.70.
>
> asio::ip::tcp::socket socket;
> asio::io_context::strand strand( socket.get_executor().context() );
>
> Thanks
> Tom
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net