Class

NWProtocolTCP

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

Declaration

class NWProtocolTCP : NWProtocol

Topics

Creating TCP Connections

class NWProtocolTCP.Options

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

static let definition: NWProtocolDefinition

The system definition of the Transport Control Protocol.

Inspecting TCP State

class NWProtocolTCP.Metadata

A handle you can use to inspect a connection's TCP state.

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 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 NWProtocolIP

A network protocol for configuring the Internet Protocol on connections.

class NWProtocolWebSocket

A network protocol for connections that use WebSocket.

class NWProtocolFramer

A customizable network protocol for defining application message parsers.