Python Network Programming Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

How it works...

Here, an NTP client has been created and an NTP request has been sent to one of the internet NTP servers, pool.ntp.org. The ctime() function is used for printing the response.