Week 3/4

Prepared by Lusheng Wang

Notes for Lecture 2 (save it as PowerPoint97 file)

Exercise 1 (Due on Tuesday week 5/6)

A sample program for client

A sample program for server

The heading file

To make the client-server system work, you have to get the RIGHT value of SERV_HOST_ADDR in the file inet.h

The IP address of sbh1 can be obtained by typing "traceroute sbh1".

The thread program