Furcadia Framework For Third Party Programs
UtilitiesPortOpen Method |
[This is preliminary documentation and is subject to change.]
Checks TCP port and scans for an available TCP port on the host
system
Namespace: Furcadia.Net.Utils
Assembly: FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 44
Syntax
public static bool PortOpen( int port )
Public Shared Function PortOpen ( port As Integer ) As Boolean Dim port As Integer Dim returnValue As Boolean returnValue = Utilities.PortOpen(port)
public: static bool PortOpen( int port )
static member PortOpen : port : int -> bool
Parameters
- port
- Type: SystemInt32
ref TCP Port
Return Value
Type: BooleanTrue when a port is found available
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when port is 0 |
See Also