TDTS41 Student Lab FAQ


TDTS41 Lab Tips

  1. Read the Lab Compendium before the lab
  2. Keep a window with top tool running to check the processes running on your machine
  3. Always kill all the processes (i.e. the server) you started in the background or forked (kill, skill)
  4. Insert printf statements in key points inside the code - helps while debugging the programs
  5. Don't forget to free (delete) the memory you allocated with malloc (new)
  6. While debugging, use the -DDEBUG compiled version of the ether_server (see also debugger) or -DRPC_SVC_FG flag to run the server in the foreground

All comments/questions/new tips are welcome! Just Email me.


TDTS41 Computer Network..