<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/nw_parameters_create_custom_ip(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "c:@F@nw_parameters_create_custom_ip"
  },
  "title" : "nw_parameters_create_custom_ip(_:_:)"
}
-->

# nw_parameters_create_custom_ip(_:_:)

Initializes parameters for connections and listeners using a custom IP protocol.

```
func nw_parameters_create_custom_ip(_ custom_ip_protocol_number: UInt8, _ configure_ip: @escaping nw_parameters_configure_protocol_block_t) -> nw_parameters_t
```

## Discussion

Creating custom IP protocol connections requires the “com.apple.developer.networking.custom-protocol” entitlement.

---

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)