Returns a total of active TCP ports