Boost logo

Boost Users :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2019-09-03 15:23:43


On Tue, Sep 3, 2019 at 7:22 AM Stephan Menzel via Boost-users
<boost-users_at_[hidden]> wrote:
> I'm trying to realize an old dream in asio. A function that will take a socket
> and asynchronously...connect to the result while having a timeout around
> the operation.

Like this?

<https://www.boost.org/doc/libs/1_71_0/libs/beast/doc/html/beast/ref/boost__beast__basic_stream/async_connect/overload1.html>

Implementation:

<https://github.com/boostorg/beast/blob/b7230f12f16fe7a9f7a1ece5be1f607c8552448a/include/boost/beast/core/impl/basic_stream.hpp#L784>

Regards


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