How to retrieve PID of process listening on a specific port?

I need to know the process id listening on a specific port.
Is there any tool in QNX that I can use to get the information?

Thank you.

limcy <limcy@infolink.co-dot-id.no-spam.invalid> wrote:

I need to know the process id listening on a specific port.
Is there any tool in QNX that I can use to get the information?

Thank you.

Parse the output of ‘sin fd’. Run it as root
if you want info on all processes.

Regards,

-seanb