echoserver.c | C code for a sequential echo server | |
echoservert.c | C code for a multi-threaded echo server | |
echoclient.c | C code for an echo client | |
nethelp.c | File containing helper functions | |
nethelp.h | Header file for functions defined in nethelp.c | |
Makefile | Compiles and links together nethelp.c and a source file | |
readme | This file |
./echoserver N
Using telnet: Open a separate window on tanner and invoke telnet by passing it the host name and the port number for the echo server:
telnet localhost NNow anything you type into the client window will be sent over the connection and echoed back to you by the server.
Using the echo client: Open a separate window on tanner and invoke the echo client by passing it the host name and the port number for the server:
./echoclient localhost NNow anything you type into the client window will be sent over the connection and echoed back to you by the server.