From WikiChip
$portfree Identifier - mIRC
< mirc‎ | identifiers

$portfree returns $true if the specified port is free, $false otherwise


Synopsis[edit]

$portfree(N,[ipaddress])

Parameters[edit]

  • N - The port number
  • ipaddress - if you specify an ip address (can also be an adapter name), only the interface with that ip address is checked for used ports.

Properties[edit]

None

Example[edit]

//echo -a $portfree(6667)

Compatibility[edit]

Added: mIRC v5.3
Added on: 13 Dec 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]