| [module1]# ./TCPechod 2000 | [module1]# ./TCPecho localhost 2000 |
| Testing second word | |
| Testing second word | |
| Testing second word | |
| test | |
| test ng second word | |
| test | |
| ^C | |
| test ng second word |
This sample run shows that the debugging code was not perfect as the server is not expected to print the phrase ``ng second word'', nor was the reprinting of the entire phrase ``test ng second word'' when the client was terminated, but this is just due to a small bug in the debugging code that prints out what the server is processing, rather than the actual code.