tell which ports are connected (when using --connect)