- Echo protocol
The echo service is an Internet protocol defined in RFC 862. It was originally proposed for testing and measurement of round-trip times in IP networks. While still available on most
UNIX-like operating systems, testing and measurement is now performed with theInternet Control Message Protocol (ICMP), using the applicationsping andtraceroute .A host may connect to a server that supports the echo protocol on either TCP or UDP port 7. The server then sends back any data it receives, with no modification by the echo server.
Inetd implementation of echo
On
Linux ,FreeBSD , and otherUNIX-like operating systems an echo server is built into theinetd daemon. The echo service is usually not enabled by default. It may be enabled by adding the following lines to the file /etc/inetd.conf and telling inetd to reload its configuration: echo stream tcp nowait root internal echo dgram udp wait root internalExamples of use
* As a generic network service which is guaranteed to read, and additionally write back, what is sent to it. Such a service is useful for debugging TCP and UDP based network code (such as event-loops) without disrupting the current operation of existing services.
ee also
* List of well-known ports
*DISCARD
*DAYTIME
*CHARGEN
* TIMEExternal links
*RFC 347 Echo Process
*RFC 862 Echo Protocol
Wikimedia Foundation. 2010.