Hi,

I am trying to write C code to obtain which process is utilizing a particular port. I found that lsof does the same on the terminal. For example
lsof -i :2000 tells which pid is using port...