CS779/879
Assignment #3
Due Midnight, Wednesday April 1, 2009
Part 1:
Write a server and client programs to measure the
relationship between the backlog value of the listen call and the maximum number of successfully completed
TCP connections waiting to be accepted by the server.
The names and syntax of the programs are:
BLServer <port> <backlog>
BLClient <host> <port>
Use tcpdump (with
option –ttt)
to record the time interval between BLClient unacknowledged SYN segments.
Example:
something % sudo tcpdump –i hme0 –ttt port 10111
somethingmore % BLServer
10111 0
somethingelse % BLClient somethingmore 10111
The
number of accepted TCP connections: 1
Part 2:
Reimplement
Assignemt #1 using
select
or poll
instead of fork.