18 Nov
2008
18 Nov
'08
9:50 a.m.
Look at asio::deadline_timer.
i am currently trying to implement something very simple: i have some network code (using boost/asio) which waits for data on a tcp connection (tcp::socket). Now i want this waiting operation to have a timeout. I did not find timeout capability in boost/asio so i tried to implement a timer class using boost/thread.