Node.js SDK - PeerOptions

Home > @rainway/native > PeerOptions

PeerOptions interface

Options for configuring a Peer.

Signature:

export interface PeerOptions 

Properties

PropertyTypeDescription
maxPortnumberThe maximum port from which local UDP ports will be allocated. The default value 0 disables the port limit.
minPortnumberThe 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.