
CS/ECE 757 – Computer Networks
Fall 2004
Assignment 4: Programming with HyperCast Overlay Sockets
Instructions:
• Complete the assignment individually. You may discuss the homework assignment with anyone
in class, but you must submit your own program!
• The only help you are allowed are the material available from www.cs.virginia.edu/hypercast,
the online documentation at www.javasoft.com or www.sun.com, the material on the web which
is listed on the CS 757 website, and a book on the Java programming language.
• The grade for this project is weighted as follows:
• 50% Implementation
• 20% Functional Tests
• 30% Write-up
Due Date: November 11, at the beginning of class.
Objective: Implement an inverse multicast (many-to-one) application.
Background and Preparation:
• This homework requires programming with the HyperCast overlay socket.
• Before starting with the assignment you must download the HyperCast 2.0 software.
• Go to: http://www.cs.virginia.edu/~mngroup/hypercast/download.html
• Download the user manual and follow the installation guide.
• Run the Whiteboard demo application described in Section 2.3 of the user manual. (Downloading,
installing and running the whiteboard application should take about 15 minutes.)
• Follow the instructions in Section 5 of the user manual to compile and execute the “HelloWorld”
program.
• You may also download a more recent version of HyperCast (version 3.0), however, the available
documentation for this version is limited. Please contact the instructor if you are interested in
working with a more recent version.
Hints:
• HyperCast 2.0 requires the Java Development Kit (JDK) version 1.2 or higher.
• Use the “HelloWorld” program as the basis for your programming assignment.
• The following parts of the Hypercast website will be particularly helpful:
a. Javadoc of the API: http://www.cs.virginia.edu/~mngroup/hcast/javadoc/index.html