SNTP(8)                                                   SNTP(8)

     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 plausi-
          ble reply, sets the local time accordingly, in both rtc(3)
          and /dev/time.  The -d option prints debugging text, includ-
          ing the time received; the -i option stops sntp from actu-
          ally updating the local time.

     FILES
          #r/rtc
          /dev/time

     SOURCE
          /appl/cmd/ip/sntp.b

     SEE ALSO
          date(1), cons(3)

     Page 1                       Plan 9             (printed 3/28/24)