Class

NWProtocolIP

A network protocol for configuring the Internet Protocol on connections.

Declaration

class NWProtocolIP : NWProtocol

Topics

Handling IP Packets

class NWProtocolIP.Metadata

Per-packet IP metadata you configure when sending and receiving packets.

Configuring IP Connections

class NWProtocolIP.Options

A container of options for configuring how IP is used on a connection.

static let definition: NWProtocolDefinition

The system definition of the Internet Protocol.

Relationships

Inherits From

See Also

Network Protocols

Building a Custom Peer-to-Peer Protocol

Use Bonjour and TLS to establish secure connections between devices, and define a protocol for sending messages to play a simple game of Tic-Tac-Toe.

class NWProtocolTCP

A network protocol for connections that use the Transmission Control Protocol.

class NWProtocolTLS

A network protocol for connections that use Transport Layer Security.

class NWProtocolUDP

A network protocol for connections that use the User Datagram Protocol.

class NWProtocolWebSocket

A network protocol for connections that use WebSocket.

Beta
class NWProtocolFramer

A customizable network protocol for defining application message parsers.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software