alarm(3) cannot fail, remove error handling.suggested by millert@
Test the netcat -N feature. The test program can send and receivemessages, shutdown write, and wait for EOF in arbitray order. Sincerevision 1.211 of netcat.c some of the cases fail.
Implement custom TCP client and server to test netcat corner cases.