blob: 7848c172e0fe708076126f772218b851986dd130 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
Network Working Group J. Postel
Request for Comments: 865 ISI
May 1983
Quote of the Day Protocol
This RFC specifies 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.
Postel [Page 1]
^L
|