Mwnci network functions that are not part of the builtin functions can be loaded with:
include("net")
Functions
| Command | Definition |
| addresscount() | Returns the total count of IP addresses in a CIDR block. |
| cidrrange() | Returns an array of two IP addresses that represent the start and end IP’s on a given CIDR block |
| conncount() | Returns a hash of connection types and totals. |
| lookupport() | Returns the service name of a given port number. |
| netstat() | Returns an array of current network connections. |
| nettrans() | Returns a hash of network transaction counts keyed by network interface. |
| openports() | Returns an array of open (listening) ports. |
| ping() | Returns true if a successful IMCP_ECHO_RESPONSE is found. |
| port2pid() | Returns a hash of process Id’s and process names keyed on port number. |
| route() | Returns an array of hashes of the current routing table. |