[manual index][section index]

NAME

sntp - simple network time protocol client

SYNOPSIS

ip/sntp [ -di ] [ server ]

DESCRIPTION

Sntp is a simple client for the Simple Network Time Protocol (RFC1361). It requests the time from the SNTP service on server (default: udp!$ntp!ntp), and if it receives a plausible reply, sets the local time accordingly, in both rtc(3) and /dev/time. The -d option prints debugging text, including the time received; the -i option stops sntp from actually updating the local time.

FILES

#r/rtc
/dev/time

SOURCE

/appl/cmd/ip/sntp.b

SEE ALSO

date(1), cons(3)

SNTP(8 ) Rev:  Tue Mar 31 02:42:38 GMT 2015