Project

General

Profile

$portfree » History » Version 1

Per Amundsen, 08/11/2015 01:39 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$portfree(N,[ipaddress])*
4
5
Returns [[$true]] if the specified port number is not in use, otherwise [[$false]].
6
7
*Parameters*
8
9
N - The port number to check.
10
[ipaddress] - TODO
11
12
*Example*
13
14
<pre>
15
; Check if port 4242 is free.
16
//echo -ag Port 4242 is $iif($portfree(4242), open, not open)
17
</pre>