Patrick Li wrote:
I'm interested in writing a function that returns me the list of IP/port that the user's machine is connected to. The most naive way is to run netstat -na on the user's computer and just parse the stdout. Are there libraries I can call to achieve this as opposed to running an external command?
There was a thread about this a couple of months ago; might help: http://mail.python.org/pipermail/python-win32/2008-June/007786.html TJG _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32