def each_tcp_port
      return enum_for(__method__) unless block_given?

      @node.xpath("ports/port[@protocol='tcp']").each do |port|
        yield Port.new(port)
      end

      return self
    end
def each_tcp_port
      return enum_for(__method__) unless block_given?

      @node.xpath("ports/port[@protocol='tcp']").each do |port|
        yield Port.new(port)
      end

      return self
    end
Parses the TCP ports of the host.

 @yield [port]
   Each TCP port of the host.

 @yieldparam [Port] port
   An TCP scanned port of the host.

 @return [Host, Enumerator]
   The host.
   If no block was given, an enumerator will be returned.