Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] : how to monitor a tcp socket
From: Mathieu Peyréga (mathieu.peyrega_at_[hidden])
Date: 2008-11-06 12:50:56


I found an alternative solution using an asynchronous timer.
However, it do works only if

m_ReceptionWatchDogTimer.expires_from_now(boost::posix_time::milliseconds(timeout));

with timeout >= 1000

is there a restriction for wait time less than one second ?

regards,

Mathieu

Igor R a écrit :
> I never tried it, but the latest asio supports icmp (see ip::icmp namespace).
>
>
>> i don't know about icmp protocol... does anyone have an example of doing
>> that with boost.Asio facility ?
>>
>>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://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