Assignment 1

Measure the latency and throughput of TCP and UDP across at least three pairs of machines using at least two different networks. For example, two CS servers (like moxie and gee), or a CS server to a laptop, etc. Create a web page with graphs summarizing your results. Include the following measurements: For timing, use System.nanoTime. Read through the Java networking tutorial. Also see SimpleService.java and EchoClient.java for some stripped-down examples of using server and client sockets. When using non-CS machines and networks, minimize unnecessary traffic while developing your programs.
Doug Lea