Contents

init(_:)

Initializes a port with a string.

Declaration

init?(_ service: String)

Discussion

Port strings are expected to be numeric values between 0 and 65535. Initializing with any other string will fail.