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

Hierarchy

Properties

Properties

bind?: BindOptions

Bind options, such as local address and port.

family?: AddressFamily

IPv4 or IPv6. Default is IPv4, unless hostname is an IPv6 address (contains a colon).

host: string

Remote address.

port?: number

Remote port.

Generated using TypeDoc