Content deleted Content added
m Grammatical edit |
m convert deprecated magic links to template usage, update CS1 params in templates - BRFA |
||
Line 3:
{{refimprove|date=October 2015}}
{{IPstack}}
The '''Character Generator Protocol''' ('''CHARGEN''') is a service of the [[Internet Protocol Suite]] defined in
A host may connect to a server that supports the Character Generator Protocol on either [[Transmission Control Protocol]] (TCP) or [[User Datagram Protocol]] (UDP) [[port number]] 19. Upon opening a TCP connection, the server starts sending arbitrary characters to the connecting host and continues until the host closes the connection. In the UDP implementation of the protocol, the server sends a UDP datagram containing a random number (between 0 and 512) of characters every time it receives a datagram from the connecting host. Any data received by the server is discarded.
Line 17:
==Sample session==
A typical CHARGEN service session looks like this: The user connects to the host using a [[telnet]] client.
The user receives a stream of [[byte]]s. Although the specific format of the output is not prescribed by
<pre>
$ telnet localhost chargen
|