CS779/879

Assignment #2

Due Midnight, Wednesday March 11, 2009


 

Part 1:

Use the sock  program to create a loop of TCP connections between two of the “something” hosts. Use the lsof  command to prove the existence of such loop.

 

Part 2:

In the  Network tools lecture, we have an  example that produces TCP  simultaneous  open and another example that produces TCP simultaneous close.

In this assignment you are required to combine these two programs to have a single program that produces a TCP connection via simultaneous open and that connection is closed via simulations close.