## Homework

 1. Write a program, ‹echo.c›, which:
    a. connects to the TCP port 2222 of ‹localhost›
    b. reads a message of up to 20 bytes from the connected socket
    c. sends back the string "you said <message>" over the socket
    d. closes the connection and exits with status 0
    
 2. The IP address of ‹localhost› is ‹127.0.0.1›
 3. Write a shell script ‹echo.sh›, which:
    a. compiles the program from point 1 into ‹a.out›
    b. listens on port 2222 using ‹nc›
    c. starts ‹a.out› from point 3.a
    d. sends message ‹ping› to ‹a.out› from 3.c, using the
       listening ‹nc› instance started in 3.b
    e. prints the message from ‹a.out› onto ‹stdout›
    f. waits until ‹nc› from point 3.b terminates
