<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/IP/multicastLoopbackDisabled(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network2IPV25multicastLoopbackDisabledyACSbF"
  },
  "title" : "multicastLoopbackDisabled(_:)"
}
-->

# multicastLoopbackDisabled(_:)

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

```
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.

> Note: Only applies to multicast packets.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)