tcp_ports (Nmap::Parser::Host)

    # File lib/nmap/parser.rb, line 554
            def tcp_ports(state = "")
                    list = @tcpPorts.values.find_all { |port|
                            state.empty? or
                            port.state == state or
                            port.state.split(/\|/).include?(state)
                    }.sort

                    list.each { |port| yield port } if block_given?

                    list
            end