Max Schubert > Nmap-Scanner-1.0 > Nmap::Scanner::PortList

Download:
Nmap-Scanner-1.0.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View Bugs
Report a bug
Source  

DESCRIPTION

Holds a list of Nmap::Scanner::Port objects. get_next() returns a port reference while there are ports in the list and returns undef when the list is exhausted. Port lists are sorted internally by port number.

get_next_tcp() and get_next_udp() will return the next port of either protocol; get_next() returns first tcp then udp.