<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/sec_protocol_options_set_quic_use_legacy_codepoint",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@F@sec_protocol_options_set_quic_use_legacy_codepoint"
  },
  "title" : "sec_protocol_options_set_quic_use_legacy_codepoint"
}
-->

# sec_protocol_options_set_quic_use_legacy_codepoint

```
void sec_protocol_options_set_quic_use_legacy_codepoint(sec_protocol_options_t options, bool quic_use_legacy_codepoint);
```

## Parameters

`options`

A `sec_protocol_options_t` instance.

`quic_use_legacy_codepoint`

A boolean to enable/disable the legacy codepoint.

## Discussion

\abstract Set QUIC to use the legacy codepoint. Defaults to true.

---

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)