Edit

Share via


TestClusterNetworkHelper.GetRandomAvailableServerPorts Method

Definition

Returns two ports which are not currently in use by any TCP listeners.

public static (int siloPort, int gatewayPort) GetRandomAvailableServerPorts ();
static member GetRandomAvailableServerPorts : unit -> ValueTuple<int, int>
Public Shared Function GetRandomAvailableServerPorts () As ValueTuple(Of Integer, Integer)

Returns

Applies to