1/20/97
N
N
T
T
S
S
-
-
2
2
0
0
1
1
.
.
M
M
A
A
N
N
B
B
-
-
1
1
R
R
e
e
v
v
A
A
APPENDIX B
TIME PROTOCOL per RFC868
B-1
INTRODUCTION
B-1.1
This protocol provides a site-independent, machine readable date and time. The TIME
service sends back to the originating source the UTC time in seconds since midnight on
January 1, 1900.
B-1.2
This protocol may be used either above the Transmission Control Protocol (TCP) or
above the User Datagram Protocol (UDP). The NTS-100 implements the TIME protocol
only above the UDP.
B-1.3
When used via UDP the TIME service works as follows:
Server:
Listen on port 37 (45 octal).
Client:
Send an empty datagram to port 37.
Server:
Send a datagram containing the UTC time as a 32 bit
binary number.
Client:
Receive the TIME datagram.
B-1.4
The server listens for a datagram on port 37. When a datagram arrives, the server
returns a datagram containing the 32-bit time value. If the server is unable to determine
the time at its site, it should discard the arriving datagram and make no reply.
B-2
THE TIME FORMAT
B-2.1
The time is the number of seconds since 00:00 (midnight) 1 January 1900 UTC, such
that the time 1 is 12:00:01 AM on January 1, 1900 UTC; this base will serve until the year
2036.