libev and libevent both seem to have a timeout event it can handle. You can either use them, or look at how they done it and do it yourself:
<http://www.wangafu.net/~nickm/libevent-book/Ref4_event.html> <http://cvs.schmorp.de/libev/README>
libev and libevent both seem to have a timeout event it can handle. You can either use them, or look at how they done it and do it yourself:
<http://www.wangafu.net/~nickm/libevent-book/Ref4_event.html> <http://cvs.schmorp.de/libev/README>