Listening Property
If True, the component accepts incoming connections on LocalPort.
Syntax
public var listening: Bool {
get {...}
set {...} }
Default Value
False
Remarks
Use this property to make the class 'listen' (accept connections) on the port specified by the LocalPort property. Setting this property to False will make the class stop listening (please note that this does not close any existing connections).
If an error occurs when setting this property an error will not be thrown. This property has a related method which will throw an error:
public func setListening(listening: Bool) throws