The echo service extension is a simple demonstration on writing TCP service extensions. The use of this extension is quite limited but it shows in a simple manner how to implement a TCP service.
The echo server is listening on a specified port for incoming connections. A user can connect to the echo service by simple telneting its listening port. The service sends back all lines and exits when an empty line is submitted.