interface MulticastOptions {
    group?: string;
    intf: string;
    multicastLoopback?: boolean;
    multicastTtl?: number;
    port?: number;
}

Hierarchy (View Summary)

Properties

group?: string

Multicast group address.

224.0.23.170

Due to dgram.Socket API limitation, if multiple multicast UDP transports are using the same port number but different group addresses, incoming traffic may be received on all sockets regardless of the group address. This also affects multicast UDP transports in other programs such as YaNFD. To isolate the traffic, the port number must be changed.

intf: string

IPv4 address of local network interface.

multicastLoopback?: boolean

MulticastLoopback flag.

false

Changing this option is inadvisable except for unit testing.

multicastTtl?: number

Multicast TTL.

1

Changing this option is inadvisable except for unit testing.

port?: number

Local and group port.

56363