Class

NWProtocol

The abstract superclass used by Network framework protocols and by custom network protocols that you define.

Declaration

class NWProtocol

Topics

Adding Protocols to Connections

class NWProtocolOptions

The abstract superclass for configuring the options of a network protocol.

class NWProtocolDefinition

The abstract superclass for identifying a network protocol.

Interacting with Protocols

class NWProtocolMetadata

The abstract superclass for specifying metadata about a network protocol.

See Also

Modifying Protocol Stacks

var defaultProtocolStack: NWParameters.ProtocolStack

The protocol stack used by connections and listeners.

class NWParameters.ProtocolStack

An ordered set of protocol options that define the protocols that connections and listeners use.

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