CS 475 ­ Networks Fall 2011 ­ Programming Project 4 20 points Out: November 3, 2011

advertisement
CS 475 ­ Networks
Fall 2011 ­ Programming Project 4
20 points
Out: November 3, 2011
Due: November 10, 2011
Assignment
Convert your TCP server from Project 3 to a TCP server that will handle multiple simultaneous clients. Use the select() function described in the handout accompanying this assignment. As usual, the server should dynamically bind to an available port. It should display the port number when started. You can use the telnet program as a client to test your server. telnet accepts the server host name (or IP address) and port number as arguments.
For full credit, your programs should use a modular or object­oriented design. (I.e., the entire program should not be in main()!) Grading
Grades for this project will be awarded based on the following criteria:
80% correctness
10% readability (including comments)
10%
elegance of design What to submit
Create a makefile that will make your application, and create a tarfile or zipfile containing it and the program source files.
● Email your tarfile/zipfile to the instructor, hwang@evansville.edu
●
11/02/2011
Page 1 of 1
D. Hwang
Download