2.2.10.2 HTTP_CHANNEL_PACKET Structure
This packet is used for channel creation.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
hdr |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
numResources |
numAltResources |
port |
|||||||||||||||||||||||||||||
|
protocol |
|||||||||||||||||||||||||||||||
hdr (8 bytes): An HTTP_PACKET_HEADER (section 2.2.10.9) structure. Its packetType field is set to PKT_TYPE_CHANNEL_CREATE.
numResources (1 byte): A single byte size field that represents the number of resource names (server names) describing the target. This value MUST be in the range 1 -- 50.
numAltResources (1 byte): A single byte size field that represents the number of alternative resource names. This value MUST be in the range 0 - 3.
port (2 bytes): An unsigned short that represents the port for communication with the target server.
protocol (2 bytes): An unsigned short that represents the protocol number used for connection with the target server. The value MUST be set to 3.