Class

NWHostEndpoint

A network endpoint specified by DNS name (or IP address) and port.

Declaration

class NWHostEndpoint : NWEndpoint

Topics

Initializing Host Endpoints

init(hostname: String, port: String)

Create a host endpoint with a hostname and port.

Getting Endpoint Properties

var hostname: String

The endpoint's hostname.

var port: String

The endpoint's port, represented as a string.

Relationships

Inherits From

Conforms To