CON_STREAM is a command used to connect a server side stream object to a given IO resource. In contrast to other such commands it is used to connect the stream to a network object (listen socket) on the client side.
Data Structure
Version 0
Offset | Size/Type? | Meaning
|
---|
0 | uint8 | Version (Always zero)
|
1 | uint8 | Socket Type
|
2 | uint16 | Numerical address part (e.g. object or prot number)
|
4 | string | textual address part (e.g. node number or ip address)
|
Version 1
This is a DRAFT.
Offset | Size/Type? | Meaning
|
---|
0 | uint8 | Version (Always one)
|
1 | uint8 | Socket Type
|
2 | uint16 | Flags
|
4 | uint16 | Transport Protocol ID
|
6 | uint16 | Length of Socket type specific address
|
8 | uint16 | Length of Transport Protocol specific setup
|
10 | string | Address (Socket type specific)
|
... | string | Transport Protocol setup
|