Skip to main content

ntp_query

Function ntp_query 

Source
fn ntp_query(server_ip: &[u8; 4]) -> Result<(u64, u32), ShellError>
Expand description

Sends an NTP request over UDP scheme and returns server transmit timestamp as unix seconds + nanoseconds.