|
Boost Users : |
Subject: Re: [Boost-users] [asio] : how to monitor a tcp socket
From: Igor R (boost.lists_at_[hidden])
Date: 2008-11-06 15:08:09
No, I use deadline_timer with timeout values of few milliseconds and
it works very well. Probably some other work that you execute on the
same io_service/thread blocks the timer handler?
> 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 ?
>
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