NetworkTimeProtocol
NetworkTimeProtocol copied to clipboard
receive_from timeout option
size_t len = socket.receive_from(boost::asio::buffer(recvBuf), sender_endpoint);
This part of the code sometimes blocks for a long time when using pool.ntp.org Is there a way to specify a timeout ?