.NET SDK - PeerOptions.MinPort

PeerOptions.MinPort property

The minimum port from which local UDP ports will be allocated.

public ushort MinPort { get; set; }

Remarks

The default value 0 means a port will be allocated from the dynamic client port range. See https://docs.microsoft.com/en-us/windows/win32/api/winsock/nf-winsock-bind for more information.

See Also