CS 176B -- Network Computing
Homework Assignment #1
TA: Dimitrios Mourloukos
Due in Class on Tuesday 01/25/00
Assignment Overview
You are given three files. These have been tested and verified to work
on many of the CS Department's computers.
The four (plus one extra credit) parts of this
assignment are:
The four (plus one extra credit) parts of this
assignment are:
- Understand the UDP echo client/server code and IMPLEMENT SOME
ADDITIONAL FUNCTIONALITY.
- Develop basic C TCP echo client/server code.
- Develop basic JAVA UDP echo client/server code.
- Develop basic JAVA TCP echo client/server code.
- EC: Implement non-blocking UDP echo server/client in C.
Assignment Details
The first part is likely to be the most vague and open-ended
part of the assignment. The idea is that since I've given you
the code for doing the UDP echo server and verified
that it compiles correctly, there isn't much left to
do. Therefore, the goal of this part of the assignment
is to get you to understand what each step of the code
does. As a result, this part of the assignment asks
you to do two things: (1) report questions/answers you
generated while experimenting with this code, and (2)
modify the code to provide some additional
functionality and then document what you've done and
why (this will be a written part due in class on the
date specified).
The rest of the parts of this the assignment are relatively
straightforward and should follow closely from the
first. If you have questions, the best place is in the
Discussion Section, during office hours, or in class.
Assignment Grading
- 25 pts: Additional functionality for UDP client/server in C
- 25 pts: TCP client/server in C
- 25 pts: UDP client/server in JAVA
- 25 pts: TCP client/server in JAVA
- 10 pts (extra): Non-blocking UDP echo server/client in C
In addition for correctness, points will be given
based on how well code is written and documented.
NOTE: good code/documentation does not imply that more
or less is better. The goal is to be efficient,
elegant and succinct!
Assignment Turnin
You will turn in your code using the method we are
developing for the WWW page, details to be available
soon. You will also turn in a written copy of the
write up for part 1, a hard copy of all programs,
and any other supporting documentation you have.