11 int nothing_count = 0;
24 wvcon->print(
"[TICK]");
25 if (nothing_count == 10)
27 wvcon->print(
"[TIMEOUT]\n");
virtual bool isok() const
return true if the stream is actually usable right now
void autoforward(WvStream &s)
set the callback function for this stream to an internal routine that auto-forwards all incoming stre...
bool select(time_t msec_timeout)
Return true if any of the requested features are true on the stream.
virtual void callback()
if the stream has a callback function defined, call it now.