M_Furcadia_Net_Utils_Utilities_PortOpen - StarShip-Avalon-Projects/FurcadiaFramework GitHub Wiki

Utilities.PortOpen Method

This stuff is still in the planning stages. Any questions or Comments are welcome. [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 43

Syntax

C#

public static bool PortOpen(
	int port
)

VB

Public Shared Function PortOpen ( 
	port As Integer
) As Boolean

VB Usage

Dim port As Integer
Dim returnValue As Boolean

returnValue = Utilities.PortOpen(port)

C++

public:
static bool PortOpen(
	int port
)

F#

static member PortOpen : 
        port : int -> bool 

Parameters

 

port
Type: System.Int32
ref TCP Port

Return Value

Type: Boolean
True when a port is found available

Exceptions

 

Exception Condition
ArgumentException Thrown when port is 0

See Also

Reference

Utilities Class
Furcadia.Net.Utils Namespace

⚠️ **GitHub.com Fallback** ⚠️