---
title: Network
framework: network
role: collection
role_heading: Framework
path: network
---

# Network

Create network connections to send and receive data using transport and security protocols.

## Mentioned in

Indicating the source of network activity Inspecting app activity data

## Overview

Overview Use this framework when you need direct access to protocols like TLS, TCP, and UDP for your custom application protocols. Continue to use URLSession, which is built upon this framework, for loading HTTP- and URL-based resources. For in-depth advice on where to start with networking, see TN3151: Choosing the right networking API. note: watchOS supports Network framework for specific use cases. For more details, see TN3135: Low-level networking on watchOS.

## Topics

### Essentials

- [NWEndpoint](network/nwendpoint.md)
- [NWParameters](network/nwparameters.md)

### Connections and Listeners

- [NWConnection](network/nwconnection.md)
- [NWListener](network/nwlistener.md)
- [NWBrowser](network/nwbrowser.md)
- [NWConnectionGroup](network/nwconnectiongroup.md)
- [NWEthernetChannel](network/nwethernetchannel.md)

### Network Protocols

- [Building a custom peer-to-peer protocol](network/building-a-custom-peer-to-peer-protocol.md)
- [Connecting iPadOS and visionOS apps over the local network](visionos/connecting-ipados-and-visionos-apps-over-the-local-network.md)
- [NWProtocolTCP](network/nwprotocoltcp.md)
- [NWProtocolTLS](network/nwprotocoltls.md)
- [NWProtocolQUIC](network/nwprotocolquic.md)
- [NWProtocolUDP](network/nwprotocoludp.md)
- [NWProtocolIP](network/nwprotocolip.md)
- [NWProtocolWebSocket](network/nwprotocolwebsocket.md)
- [NWProtocolFramer](network/nwprotocolframer.md)

### Network Security and Privacy

- [Security Options](network/security-options.md)
- [Privacy Management](network/privacy-management.md)
- [Creating an Identity for Local Network TLS](network/creating-an-identity-for-local-network-tls.md)

### Paths and Interfaces

- [NWPath](network/nwpath.md)
- [NWPathMonitor](network/nwpathmonitor.md)
- [NWInterface](network/nwinterface.md)

### Errors

- [NWError](network/nwerror.md)

### Network Debugging

- [Choosing a Network Debugging Tool](network/choosing-a-network-debugging-tool.md)
- [Debugging HTTP Server-Side Errors](network/debugging-http-server-side-errors.md)
- [Debugging HTTPS Problems with CFNetwork Diagnostic Logging](network/debugging-https-problems-with-cfnetwork-diagnostic-logging.md)
- [Recording a Packet Trace](network/recording-a-packet-trace.md)
- [Taking Advantage of Third-Party Network Debugging Tools](network/taking-advantage-of-third-party-network-debugging-tools.md)
- [Testing and Debugging L4S in Your App](network/testing-and-debugging-l4s-in-your-app.md)

### C-Language Symbols

- [C-Language Symbols](network/c-language-symbols.md)

### Structures

- [nw_interface_radio_type_t](network/nw_interface_radio_type_t.md)
- [nw_multipath_version_t](network/nw_multipath_version_t.md)
- [nw_path_unsatisfied_reason_t](network/nw_path_unsatisfied_reason_t.md)
- [nw_quic_stream_type_t](network/nw_quic_stream_type_t.md)
- [Bonjour](network/bonjour.md)
- [BonjourListenerProvider](network/bonjourlistenerprovider.md)
- [Coder](network/coder.md)
- [DefaultProtocolStorage](network/defaultprotocolstorage.md)
- [Framer](network/framer.md)
- [IP](network/ip.md)
- [NWParametersBuilder](network/nwparametersbuilder.md)
- [NWTXTRecord](network/nwtxtrecord.md)
- [NetworkJSONCoder](network/networkjsoncoder.md)
- [NetworkPropertyListCoder](network/networkpropertylistcoder.md)
- [ProtocolMetadataBuilder](network/protocolmetadatabuilder.md)
- [ProtocolStackBuilder](network/protocolstackbuilder.md)
- [ProxyConfiguration](network/proxyconfiguration.md)
- [QUIC](network/quic.md)
- [QUICDatagram](network/quicdatagram.md)
- [QUICStream](network/quicstream.md)
- [TCP](network/tcp.md)
- [TLS](network/tls.md)
- [TLV](network/tlv.md)
- [TXTRecordDecoder](network/txtrecorddecoder.md)
- [UDP](network/udp.md)
- [UnexpectedEndpointType](network/unexpectedendpointtype.md)
- [WebSocket](network/websocket.md)
- [nw_link_quality_t](network/nw_link_quality_t.md)

### Classes

- [NWMultiplexGroup](network/nwmultiplexgroup.md)
- [NetworkBrowser](network/networkbrowser.md)
- [NetworkChannel](network/networkchannel.md)
- [NetworkConnection](network/networkconnection.md)
- [NetworkListener](network/networklistener.md)

### Reference

- [Network Constants](network/network-constants.md)
- [Network Functions](network/network-functions.md)
- [Network Data Types](network/network-data-types.md)

### Protocols

- [BrowserProvider](network/browserprovider.md)
- [Connectable](network/connectable.md)
- [ConnectionStorage](network/connectionstorage.md)
- [DatagramProtocol](network/datagramprotocol.md)
- [FramerProtocol](network/framerprotocol.md)
- [ListenerProvider](network/listenerprovider.md)
- [MessageProtocol](network/messageprotocol.md)
- [MultiplexProtocol](network/multiplexprotocol.md)
- [NWParametersProvider](network/nwparametersprovider.md)
- [NetworkCoder](network/networkcoder.md)
- [NetworkDecoder](network/networkdecoder.md)
- [NetworkEncoder](network/networkencoder.md)
- [NetworkFixedWidthInteger](network/networkfixedwidthinteger.md)
- [NetworkMetadataProtocol](network/networkmetadataprotocol.md)
- [NetworkProtocolOptions](network/networkprotocoloptions.md)
- [OneToOneProtocol](network/onetooneprotocol.md)
- [StreamProtocol](network/streamprotocol.md)

### Variables

- [kNWErrorDomainWiFiAware](network/knwerrordomainwifiaware.md)
- [nw_error_domain_wifi_aware](network/nw_error_domain_wifi_aware.md)
- [nw_link_quality_good](network/nw_link_quality_good.md)
- [nw_link_quality_minimal](network/nw_link_quality_minimal.md)
- [nw_link_quality_moderate](network/nw_link_quality_moderate.md)
- [nw_link_quality_unknown](network/nw_link_quality_unknown.md)

### Functions

- [nw_parameters_get_allow_ultra_constrained(_:)](network/nw_parameters_get_allow_ultra_constrained(_:).md)
- [nw_parameters_set_allow_ultra_constrained(_:_:)](network/nw_parameters_set_allow_ultra_constrained(_:_:).md)
- [nw_path_get_link_quality(_:)](network/nw_path_get_link_quality(_:).md)
- [nw_path_is_ultra_constrained(_:)](network/nw_path_is_ultra_constrained(_:).md)
- [nw_tcp_set_max_pacing_rate(_:_:)](network/nw_tcp_set_max_pacing_rate(_:_:).md)
- [withNetworkConnection(to:using:_:)](network/withnetworkconnection(to:using:_:)-1sik8.md)
- [withNetworkConnection(to:using:_:)](network/withnetworkconnection(to:using:_:)-4wpc9.md)
- [withNetworkConnection(to:using:_:)](network/withnetworkconnection(to:using:_:)-7skhi.md)
- [withNetworkConnection(to:using:_:)](network/withnetworkconnection(to:using:_:)-887ho.md)

### Type Aliases

- [NetworkActorInterruptionHandler](network/networkactorinterruptionhandler.md)
- [NetworkActorInvalidationHandler](network/networkactorinvalidationhandler.md)
