Open this stream. Blocks until the stream is opened or an error occurs.
public func open(streamPort: UInt32) throws
- The listening id/port to use for the stream. This is used to distinguish streams in the other end, like a port number.
Throws the following errors:
- the stream could not be opened as the handshake was aborted - this includes an invalid port specified and access denied due to insufficient permissions