DUE DATE: Wednesday, May 15, 2002, at 3:30pm
(no late submissions accepted!)



Summary


This project introduces students to the basics of network programming, different protocols provided by the TCP/IP protocol suite, and to the Berkeley Sockets API.

Your task for this project is to extend the functionality of your previous project by adding network support to your application. In order to do that, you will have to write another separate program, (in addition to the kernel module and the player) which would be the music server. The server would listen for incoming connections, accept them, and play the notes that were sent over the network using the kernel module from the previous project.

You will also have to re-write PlayTune to add network support to it. As such, rather than playing the music on the local computer, it should connect to a specified server, so that the music is played on the remote computer instead. (Assuming that the server is running.)

To make the project more fun, include support for multiple servers in your client program. That is, allow the user to play the same tune on up to four computers at once. (Your client would have to connect to several servers simultaneously.)




Notes




Extra Credit




What to turn in


Turn in a printout of your code. Include instructions on running your program. Place your source files in the submit directories for cs235, located under /home/submit/cs235/<username>. You may turn in your source files on a floppy, if you wish.



Alex Fedosov 2002-05-06