$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] std::future::wait_for() not working in Boost UDP socket async receive operation
From: JC Francois (jc_at_[hidden])
Date: 2016-11-29 16:14:42
On 29/11/2016 11:09, TONGARI J wrote:
> So calling socket.cancel() w/o waiting the cancellation to complete
> should be OK.
Yes indeed, this was the missing element. I added a call to
socket.cancel() in response to the timeout condition and it worked.
Thanks a lot!
/~JC