Skip to main content

parse_reply

Function parse_reply 

Source
pub fn parse_reply(p: &[u8]) -> Result<ServerTime, Error>
Expand description

Validates a reply and extracts its transmit timestamp.

Network delay is not compensated: the result is the time the server sent the reply, typically tens of milliseconds behind true time.