Daytime service


Yay! I implemented a simple daytime service that works according to RFC 867, dated May 1983. It provides the current date and time as a ASCII character string. Funnily, it does not really specify the time format.
There is no specific syntax for the daytime. It is recommended that it be limited to the ASCII printing characters, space, carriage return, and line feed. The daytime should be just one line.

This service is reachable over TCP and UDP on port 13.

TCP example using telnet:
$ telnet 13
Connected to
Escape character is '^]'. or Thursday, May 30, 2024, 10:54:06-EEST
Connection closed by foreign host.

UDP example using nc:
$ echo | nc -u 13 or Thursday, May 30, 2024, 10:56:49-EEST

I still need clean up the code a bit before publishing it. Stay tuned.

This site is HTML 2.0 compliant.

Valid HTML 2.0