原文:ftp://ftp.rfc-editor.org/in-notes/rfc867.txt
原文との対訳として読みたい方へ:このページをローカルに保存して、スタイルシートの original クラスの display 属性を none から block に変更してみてください。



Network Working Group
Request for Comments: 867
J. Postel
ISI
May 1983

Daytime Protocol Daytime プロトコル

This RFC specifies a standard for the ARPA Internet community. Hosts on the ARPA Internet that choose to implement a Daytime Protocol are expected to adopt and implement this standard. この RFC は ARPA インターネットコミュニティのための標準を規定する。Daytime プロトコルの実装を選択する ARPA インターネット上のホストは、この標準を採用し、実装することを期待される。

A useful debugging and measurement tool is a daytime service. A daytime service simply sends a the current date and time as a character string without regard to the input. daytime サービスは有効なデバッギング・計測のツールのひとつである。daytime サービスは入力に関係なく現在の日付と時刻とを文字列として単純に送信する。

TCP Based Daytime Service TCP ベースの Daytime サービス

One 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. ひとつ目の daytime サービスは、TCP 上のコネクションベースアプリケーションとして定義される。サーバーは TCP ポート 13 で TCP 接続を監視する。接続が確立すると、現在の日付と時刻が ASCII 文字列として返される(受信したデータは捨てられる)。サービスはその文字列を送信した後、接続を閉じる。

UDP Based Daytime Service UDP ベースの Daytime サービス

Another daytime service 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). もうひとつの daytime サービスは、UDP 上のデータグラムベースアプリケーションとして定義される。サーバーは UDP ポート 13 で UDP データグラムを監視する。データグラムを受信したサーバーは、現在の日付と時刻を ASCII 文字列として含む応答データグラムを送信する(受信したデータグラム内の情報は無視される)。

Daytime Syntax Daytime の文法

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. daytime のための具体的な構文は存在しないが、ASCII の印刷可能文字・空白・改行・復帰に限定することを推奨する。日付・時刻は一行にするべきである。

One popular syntax is: よく知られている構文:

         Weekday, Month Day, Year Time-Zone

         Example:

            Tuesday, February 22, 1982 17:37:43-PST
         Weekday, Month Day, Year Time-Zone

         例:

            Tuesday, February 22, 1982 17:37:43-PST

Another popular syntax is that used in SMTP: SMTP で使用されているもうひとつのよく知られている構文:

         dd mmm yy hh:mm:ss zzz

         Example:

            02 FEB 82 07:59:01 PST
         dd mmm yy hh:mm:ss zzz

         例:

            02 FEB 82 07:59:01 PST

NOTE: For machine useful time use the Time Protocol (RFC-868). 注:機械的に処理しやすい時刻のためには Time プロトコル(RFC-868)を使用すること。