random_port


Description:

public uint random_port (uint lower_bound = MIN_PORT, uint upper_bound = MAX_PORT)

Returns a valid, random port number equally distrubted over the range provided by the lower and upper bounds.

Parameters:

lower_bound

the lower bound (inclusive) for obtaining the port number

upper_bound

the upper bound (inclusive) for obtaining the port number

Returns:

A new valid, random port number


Namespace: Catalyst.HttpUtils
Package: catalyst-1