RFC865 - Quote of the Day Protocol

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

Network Working Group J. Postel

Request for Comments: 865 ISI

May 1983

Quote of the Day Protocol

This RFCspecifies a standard for the ARPA Internet community. Hosts on

the ARPA Internet that choose to implement a Quote of the Day Protocol

are eXPected to adopt and implement this standard.

A useful debugging and measurement tool is a quote of the day service.

A quote of the day service simply sends a short message without regard

to the input.

TCP Based Character Generator Service

One quote of the day service is defined as a connection based

application on TCP. A server listens for TCP connections on TCP port

17. Once a connection is established a short message is sent out the

connection (and any data received is thrown away). The service

closes the connection after sending the quote.

UDP Based Character Generator Service

Another quote of the day service is defined as a datagram based

application on UDP. A server listens for UDP datagrams on UDP port

17. When a datagram is received, an answering datagram is sent

containing a quote (the data in the received datagram is ignored).

Quote Syntax

There is no specific syntax for the quote. It is recommended that it

be limited to the ASCII printing characters, space, carriage return,

and line feed. The quote may be just one or up to several lines, but

it should be less than 512 characters.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航