---
title: "multicastLoopbackDisabled(_:)"
framework: network
role: symbol
role_heading: Instance Method
path: "network/ip/multicastloopbackdisabled(_:)"
---

# multicastLoopbackDisabled(_:)

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

## Declaration

```swift
func multicastLoopbackDisabled(_ disableMulticastLoopback: Bool) -> IP
```

## Parameters

- `disableMulticastLoopback`: True to disable multicast loopback, false otherwise.

## Discussion

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. note: Only applies to multicast packets.
