Skip to main content
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Socket.prototype.setMulticastLoopback
import { Socket } from "https://deno.land/std@0.167.0/node/dgram.ts";

Sets or clears the IP_MULTICAST_LOOP socket option. When set to true, multicast packets will also be received on the local interface.

This method throws EBADF if called on an unbound socket.

Parameters

arg: boolean