openUnicast options.

interface UnicastOptions {
    bind?: BindOptions;
    family?: AddressFamily;
    host: string;
    port?: number;
}

Hierarchy (View Summary)

Properties

Properties

bind?: BindOptions

Bind options, such as local address and port.

family?: AddressFamily

IPv4 or IPv6.

IPv4, unless hostname is a literal IPv6 address.

host: string

Remote address.

port?: number

Remote port.