I have a server listening for connections on UDP and another on TCP. I need to know what process initiated the connection. Is that possible? I have found multiple solutions, but all imply checking each process for each port, which has a performance issue in my view. Also, when i tried this, i only get the PID of my server application, not the client.
Thank you