How to obtain ports that a process in listening on?

Posted by Dominique on Stack Overflow See other posts from Stack Overflow or by Dominique
Published on 2010-06-07T05:04:02Z Indexed on 2010/06/07 5:12 UTC
Read the original article Hit count: 314

Filed under:
|
|
|

How do I get the ports that a process is listening on using python? The pid of the process is known.

© Stack Overflow or respective owner

Related posts about python

Related posts about linux