Open this stream asynchronously.
public func openAsync(streamPort: UInt32, closure: @escaping AsyncStatusReceiver)
- The listening id/port to use for the stream. This is used to distinguish streams in the other end, like a port number.
- Invoked when the stream is opened or an error occurs, see synchronous open() for possible errors.
Throws the following errors: