MsetMulticastTTL
Bun

method

udp.Socket.setMulticastTTL

ttl: number
): number;

Set the IP_MULTICAST_TTL socket option.

@param ttl

Time to live value for multicast packets

@returns

The TTL value