Sockets Activity

The purpose of this activity is to explore the performance of the client/server communication in a variety of configurations. Several performance measures will be used to compare the impact of different architectures on these measures.

Demo code and support files

Zip file and makefile with client and server demo code: sockets.zip

Submit this spreadsheet with your measurements: sockets spreadsheet

Windows cygwin configuration document: cygwin_config

Build and test Demo C code

Measurements Overview

Measure Latency

On the client system using the ping utility to measure latency. Use Control-c to stop the ping.

Record the average on the spreadsheet omitting obvious outliers for each of the three configurations.

Measure Connection Time:

Measure bandwidth (throughput):

Submission

Larry Kiser, April 12, 2024

Larry Kiser: simplified and revised April 20, 2024