Homework of Advanced UNIX programming.
Practice the use of directory related API, write an tool which has the similar function with netstat
search /proc/$pid/fd first 找到socket number 去對/proc/net/tcp,找出src IP and des IP
Practice injecting the shared library. Monitor the parameter that is fed into these shared libraries.