Crate oports

Crate oports 

Source
Expand description

A crate to asynchronously retrieve open ports for a given IP address.

All methods return a future that can be awaited, if you do not want to use futures, you can simple run the block_on method from the futures executor to block the caller until the given future has completed.

Functionsยง

get_all_open_ports
Retrieves a vec with all open ports for a given IP address. The default concurrency is 100 if the Option resolves to a None value.
get_open_ports
Retrieves a vec with open ports for a given vec of port numbers an IP adresses. The default concurrency is 100 if the Option resolves to a None value.
is_port_open
Check if the given port is open for a specified IP address.