Daytime

from Wikipedia, the free encyclopedia
Daytime Protocol
Operation area: Troubleshooting and measurements
on network lines
Daytime in the TCP / IP protocol stack :
application Daytime
transport UDP TCP
Internet IP ( IPv4 , IPv6 )
Network access Ethernet Token
bus
Token
ring
FDDI ...
Standards: RFC 867 ( 1983 )

Daytime is a simple ASCII -based network protocol that can use TCP or UDP via port 13 to transfer data .

After establishing a connection (TCP) or receiving a UDP packet, the current date and time are sent in one line from the time server to the client. Typically, the service is queried using the Telnet command line program :

$ telnet daytime-server 13
Trying daytime-server...
Connected to daytime-server.
Escape character is '^]'. 
Fr Feb 24 17:52:30 CET 2006
Connection closed.

In contrast to time synchronization protocols such as the Network Time Protocol (NTP), Daytime was developed for troubleshooting and for measurements on network lines. The time stamp sent in plain text can be read by humans without any problems and used, for example, to estimate the runtime or, in general, to check the availability of a server instead of pinging .

See also