Daytime Protocol As Per Rfc-867; Tcp Based Daytime Service; Udp Based Daytime Service; Daytime String Format - Symmetricom Time Server User Manual

Symmetricom time server user's manual
Table of Contents

Advertisement

Appendix C: TIME and DAYTIME Protocols
C.2

DAYTIME Protocol as per RFC-867

DAYTIME protocol pertains to a daytime service, a useful debugging and measurement
tool. A daytime service simply sends the current date and time as a character string
without regard to the input.
C.2.1

TCP Based Daytime Service

This daytime service is defined as a connection based application on TCP. A server
listens for TCP connections on TCP port 13. Once a connection is established, the current
date and time is sent out the connection as a ASCII character string (and any data received
is thrown away). The service closes the connection after sending the quote.
C 2.2

UDP Based Daytime Service

This daytime service is defined as a datagram based application on UDP. A server listens
for UDP datagrams on UDP port 13. When a datagram is received, an answering
datagram is sent containing the current date and time as a ASCII character string (the data
in the received datagram is ignored).
C 2.3

DAYTIME String Format

The string format for the DAYTIME Protocol conforms to the Unix workstation time
expression, except the time is in UTC rather than local time. The syntax is as follows:
where
C-106
DDD, MMM, XX, YYYY, HH:MM:SS-UTC
DDD
=
MMM
=
XX
=
HH
=
MM
=
SS
=
the day: "Sun", "Mon", "Tue", "Wed", "Thus",
"Fri", "Sat"
the month: "Jan", "Feb", "Mar", "Apr", "May",
"Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
day of the month
hour (24 hour format) of that day
minutes of that hour
seconds of that minute
TimeVault™ User's Manual
DAYTIME Protocol as per RFC-867
6000-100AppC.fm Rev. D

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents