K 10 svn:author V 4 kris K 8 svn:date V 27 2008-06-02T19:46:03.000000Z K 7 svn:log V 230 Rewrite this to make it more efficient (fewer external command invocations). It also fixes some edge cases that were not handled in the previous version. TODO: Correctly report IPv6 sockets (already in use by the sparc64 build) END