Home > @rainway/native > PeerOptions
PeerOptions interface
Options for configuring a Peer.
Signature:
export interface PeerOptions
Properties
Property | Type | Description |
---|---|---|
maxPort | number | The maximum port from which local UDP ports will be allocated. The default value 0 disables the port limit. |
minPort | number | The minimum port from which local UDP ports will be allocated. 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. |