mirror of
https://github.com/boostorg/asio.git
synced 2026-01-20 16:32:08 +00:00
16 lines
274 B
C++
16 lines
274 B
C++
#include <iostream>
|
|
#include <boost/asio.hpp>
|
|
#include <boost/date_time/posix_time/posix_time.hpp>
|
|
|
|
int main()
|
|
{
|
|
boost::asio::io_service io;
|
|
|
|
boost::asio::deadline_timer t(io, boost::posix_time::seconds(5));
|
|
t.wait();
|
|
|
|
std::cout << "Hello, world!\n";
|
|
|
|
return 0;
|
|
}
|