init(name:address:port:)
Creates a host with the specified name, adress, and port.
Declaration
convenience init(name: String, address: String, port: Int)Parameters
- name:
The host name.
- address:
The host’s IP address or hostname.
- port:
The host’s UDP port.