Function sntpc::simple_get_time
source · pub fn simple_get_time<A>(pool_addrs: A, socket: UdpSocket) -> Result<NtpResult>
Expand description
Supplementary get_time
alternative that wraps provided UDP socket into a wrapper type
that implements necessary traits for SNTP client proper operation