Optionalexclusive?: booleanOptionalhost?: string | Address4 | Address6The local host to bind to. Accepts an IPv4 address, IPv6 address, or a network
interface name (e.g. 'eth0'). If omitted, all available interfaces are used.
When an IP address is provided, only the matching interface is used. When an
interface name is provided, all addresses assigned to that interface are used.
The address family must match the multicastGroup (IPv4 group requires IPv4 host).
OptionallinkLocalOnly?: booleanRFC 6762 §11 inbound origin verification (no-native-deps approximation).
When true (the default), received messages whose source address is not on a
local-link subnet of any interface this host owns (plus loopback) are dropped
before the 'message' event fires. Dropped packets are surfaced via the
'drop' event with reason 'off-link'.
Set to false for receive scenarios that legitimately cross routed segments
(e.g. SSDP over Layer 3, multicast across VPN tunnels).
True §11 wants IP_TTL === 255 on inbound, which Node's dgram.Socket does
not expose; the subnet check is the interim until a native-addon receive path
is available.
Optionalloopback?: booleanWhen true, the instance will also receive its own outgoing multicast packets
via the 'message' event (with fromSelf set to true).
The multicast group address to join (e.g. '224.0.0.251' for IPv4).
The local port to which the multicast socket is bound.
When
false(the default), cluster workers share the same underlying socket handle. Whentrue, the handle is not shared and attempted port sharing results in an error.Note: setting
reusePorttotrueimplicitly forcesexclusivetotrue.