Initializes a new connection to a host and port.
On This Page
convenience init(host: NWEndpoint.Host, port: NWEndpoint.Port, using: NWParameters)
init(to: NWEndpoint, using: NWParameters)
Initializes a new connection to a remote endpoint.
func start(queue: DispatchQueue)
Starts establishing a connection, and sets the queue on which to deliver all connection events.
Restarts a connection that is in the waiting state.