Contents

multicastLoopbackDisabled(_:)

Specify if multicast packets should be looped back for local delivery.

Declaration

func multicastLoopbackDisabled(_ disableMulticastLoopback: Bool) -> IP

Parameters

  • disableMulticastLoopback:

    True to disable multicast loopback, false otherwise.

Discussion

By default, a multicast packet sent to a group to which the sending host itself belongs will be looped back for local delivery. disableMulticastLoopback disables this behavior and, if set, multicast packets will not be looped back to the sender.