CIS-3152 Homework #1 (Daytime Client/Server)

Due: Monday, January 22, 2018

In the text review Chapter 1. Over the next two weeks read chapters 3 and 4.

  1. Modify the daytime client presented in class so that it prints the number of times it invokes read. Modify the server so that it sends the output string one byte at a time.

  2. Run your modified server and connect to it with your modified client. What happens? Can you explain why? Try running your modified server on lemuria and your modified client on Jumbo (so the traffic passes over a non-trivial network). Note that you need to run your server on one of your allocated ports. Is the behavior any different? Is the behavior consistent from run to run? Use Wireshark to observe the traffic between client and server to see if that sheds any light on what is happening. Include your answers to these questions in comments in one of the files (or both if that seems more appropriate).

Zip your modified server and client into a single archive and submit the zip file to Moodle. It would be helpful to me if you named your archive using the first letter of your first name followed by your last name. For example: (use your own name). This isn't an absolute requirement but it streamlines my workflow a bit.

Last Revised: 2017-12-26
© Copyright 2018 by Peter C. Chapin <>