Douglas E. Comer
Computer Science Department
Purdue University
West Lafayette, IN 47907
webmaster: W. David Laverell
Companion
Topics
Home
Book
Information
Purpose
of Site
Getting
Started
Students
Faculty
"What's
New"
"Coming
Attractions"
"C Pointers"
Acknowledgements
|
|
Hands-On Networking: Experiment 8.2
Home > Student > Experiments > 8.2
Experiment 8.2
This experiment requires a great deal of time manipulation.
Assuming that you followed the advice given in Experiment
8.1, your gateway delays the sending on of each datagram
by a certain number of nanoseconds. So you write
your client to send a large number of datagrams, your server
simply to respond to each of them, and use
gettimeofday to measure the delay between
each send and the corresponding receive .
Since that function measures time in seconds and
microseconds, your primary task will be time
conversion.
This site is maintained by W. David Laverell
of the Computer Science Department
at Calvin College. For assistance or corrections,
please contact him at . |
|