C-DEngine 5.105

TheNetworkInfo..::..GetFreePort Method

Finds a free socket port in the given range on a given IP Address

Namespace:  nsCDEngine.Discovery
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static uint GetFreePort(
	uint LowRange,
	uint UpperRange,
	IPAddress OnThisIP
)
Public Shared Function GetFreePort ( _
	LowRange As UInteger, _
	UpperRange As UInteger, _
	OnThisIP As IPAddress _
) As UInteger
public:
static unsigned int^ GetFreePort(
	unsigned int^ LowRange, 
	unsigned int^ UpperRange, 
	IPAddress^ OnThisIP
)

Parameters

LowRange
Type: UInt32
Low boundary of the area to scan
UpperRange
Type: UInt32
Upper boundary of the area to scan
OnThisIP
Type: IPAddress
IP Address to scan on

Return Value