home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 700s / rfc738.txt < prev    next >
Text File  |  1992-10-14  |  2KB  |  59 lines

  1.  
  2. NWG/RFC# 738                                         KLH 31 Oct 77 42218
  3. Network Working Group                                     K. Harrenstien
  4. Request for Comments: 738                                         SRI-KL
  5. NIC: 42218                                               31 October 1977
  6.  
  7.  
  8.  
  9.                               Time Server
  10.  
  11.  
  12.  
  13.  
  14. This note describes the Time Server protocol, as currently implemented
  15. on ITS hosts (i.e. MIT-(AI/ML/MC/DMS)).  The idea is to provide a
  16. site-independent, machine readable date and time in as efficient and
  17. swift a manner as possible; its motivation arises from the fact that not
  18. all systems have a date/time clock, and all are subject to occasional
  19. human or machine error.  The use of time-servers makes it possible to
  20. quickly confirm or correct a system's idea of the time, by making a
  21. brief poll of several independent sites on the network.
  22.  
  23. In particular the network time server works as follows:
  24.  
  25.    S: Listen on socket 37 (45 octal).
  26.  
  27.    U: Connect to socket 37 [not ICP].
  28.  
  29.    S: Send the time as a 32 bit binary number.
  30.  
  31.    U: Close the connection.
  32.  
  33.    S: Close the connection.
  34.  
  35. Note that this is not a normal ICP sequence.  Rather, instead of sending
  36. a 32-bit socket number to reconnect to, the server returns a 32-bit time
  37. value and closes the connection.  If the server is unable to determine
  38. the time at its site, it should either refuse the connection or close it
  39. without sending anything.
  40.  
  41. The time is the number of seconds since 0000 (midnight) 1 January 1900
  42. GMT, such that the time 1 is 12:00:01 am on 1 January 1900 GMT; this
  43. base will serve until the year 2036.  As a further example, the most
  44. recent leap year as of this writing began from the time 2,398,291,200
  45. which corresponds to 0000 1 Jan 1976 GMT.
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.                                                                 [Page 1]