Create Peer to Peer Stream
- Updated2023-02-17
- 2 minute(s) read
Create Peer to Peer Stream
Links a writer and reader and creates a stream between them.
Inputs/Outputs

writer
The device resource that writes data to the stream.

reader
The device resource that reads data from the stream.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

enable stream
A Boolean control that prepares the stream to transmit data.
| True | Prepares the stream to transmit data. |
| False | Waits to enable the stream until Enable Peer to Peer Stream is called. |
Default value: True
Enabling the Stream Programmatically
To enable the stream when the writer and reader are ready to transfer data, set enable stream to False and use Enable Peer to Peer Stream to enable the stream.

session out
A reference to the stream.

error out
Error information.
The node produces this output according to standard error behavior.