CS180 Project 1 Due: Oct 04 Synopsis In this project, you will write a program that will open a TCP network connection to a server on my office machine, and carry on a small conversation in an attempt to guess a randomly generated number. Instructions When your program makes a TCP connection to my server, a random number between 0 and 255 (inclusive) will be generated. Your program will carry on a two-way conversation with my server trying to guess the number. The simple protocol (your guesses and my responses) defining this conservation is described below. Each connection made to the server will be logged and your grade will, in part, depend on a record in the log file indicating that your program carried on a proper conversation and accurately identified the number. The server will be running (for the next couple weeks) on port 8000 on my office machine. Its IP address is 10.10.200.227, and because of Digipen's NAT (Network Address Translation) is visible only within Digipen. Framework
This is the end of the preview. Sign up
access the rest of the document.
This lab report was uploaded on 04/18/2008 for the course CS 180 taught by Professor Hou during the Spring '06 term at DigiPen Institute of Technology.