HW 3 Hints
- PROBLEM 1) I showed/will show the network topology of REC108 in PSO sessions. If you were absent at the PSO, please come to any of PSO sessions or visit my office in office hours to ask.
- PROBLEM 2) 'Ethereal' is a very good packet analyzer. I installed it in my home directory. You can use the binary /homes/heoh/ethereal/bin/ethereal. Looking inside packets using ethereal is very useful in studying network protocols.
- PROBLEM 3) I told one student that he can hardcode the command and arguments in his code. However, I realized that the problem 3 askes to run the client binary with multiple arguments. So, please code the client so that it can be run like, "client.bin command arg1 arg2 ...". For example, invoking "client.bin ls -l -a" should generate the request string of "$ls$-l$-a".
- PROBLEM 3,4) For an invalid request(e.g., command does not exist) from clients, the server may do anything(e.g., just ignoring). However, the server should not crash or terminate or hang upon any type of invalid request at least.