Movatterモバイル変換


[0]ホーム

URL:


[RFC Home] [TEXT|PDF|HTML] [Tracker] [IPR] [Info page]

UNKNOWN
NWG/RFC# 738                                         KLH 31 Oct 77 42218Network Working Group                                     K. HarrenstienRequest for Comments: 738                                         SRI-KLNIC: 42218                                               31 October 1977Time ServerThis note describes the Time Server protocol, as currently implementedon ITS hosts (i.e. MIT-(AI/ML/MC/DMS)).  The idea is to provide asite-independent, machine readable date and time in as efficient andswift a manner as possible; its motivation arises from the fact that notall systems have a date/time clock, and all are subject to occasionalhuman or machine error.  The use of time-servers makes it possible toquickly confirm or correct a system's idea of the time, by making abrief poll of several independent sites on the network.In particular the network time server works as follows:   S: Listen on socket 37 (45 octal).   U: Connect to socket 37 [not ICP].   S: Send the time as a 32 bit binary number.   U: Close the connection.   S: Close the connection.Note that this is not a normal ICP sequence.  Rather, instead of sendinga 32-bit socket number to reconnect to, the server returns a 32-bit timevalue and closes the connection.  If the server is unable to determinethe time at its site, it should either refuse the connection or close itwithout sending anything.The time is the number of seconds since 0000 (midnight) 1 January 1900GMT, such that the time 1 is 12:00:01 am on 1 January 1900 GMT; thisbase will serve until the year 2036.  As a further example, the mostrecent leap year as of this writing began from the time 2,398,291,200which corresponds to 0000 1 Jan 1976 GMT.                                                                [Page 1]

[8]ページ先頭

©2009-2025 Movatter.jp