pub async fn request<A: ToSocketAddrs>(addr: A) -> Result<Packet>Expand description
Send an async request to an ntp server with a hardcoded 5 second timeout.
addr can be any valid socket address
returns an error if the server cannot be reached or the response is invalid.