1. J

    Question Get Ports from a given PID

    Hi, I'm trying to write a program that checks for all ports being used by a specific process. I have the process ID and I need to get all the ports and their status (ESTABLISHED, LISTENING, .....). I've been searching all over the web, but I can only find functions that get ports when given an...