---
title: NWProtocolIP
framework: network
role: symbol
role_heading: Class
path: network/nwprotocolip
---

# NWProtocolIP

A network protocol for configuring the Internet Protocol on connections.

## Declaration

```swift
class NWProtocolIP
```

## Topics

### Handling IP Packets

- [NWProtocolIP.Metadata](network/nwprotocolip/metadata.md)

### Configuring IP Connections

- [NWProtocolIP.Options](network/nwprotocolip/options.md)
- [definition](network/nwprotocolip/definition.md)

### Enumerations

- [NWProtocolIP.ECN](network/nwprotocolip/ecn.md)

## Relationships

### Inherits From

- [NWProtocol](network/nwprotocol.md)

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### 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)
- [NWProtocolWebSocket](network/nwprotocolwebsocket.md)
- [NWProtocolFramer](network/nwprotocolframer.md)
