The C (Client)

Using the beej Networking Programming guide, write a client that connects to a server on a given port and sends an ascii number. It then will listen and receive an ascii number. Verify that it is twice as much as the first number sent, and if it passes that check, will append to a file: the date and time, the server it connected to, and the value of the number received.

This will take a little bit of time.

Anytime that you get stuck, talk to a teacher so we can get you going in the right direction.