Hi gurus,

can anybody make a hint as how pid of a process listening on a specified
tcp port can be determined? Of cause there are major utilities like lsof
or sockstat but they gather a lot of extra information and work not too
fast. What I need ideally would be a small C program which outputs pid
given a port number as a parameter, can anybody help?

Regards

Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to