A network endpoint specified by DNS name (or IP address) and port.
On This Page
class NWHostEndpoint : NWEndpoint
init(hostname: String, port: String)
Create a host endpoint with a hostname and port.
var hostname: String
The endpoint's hostname.
var port: String
The endpoint's port, represented as a string.