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


class NWProtocol


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.