2.2.2.1 Command Message
A command message is used to signal that either a buffer and payload are following, or that the endpoint has to shut down.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
nCommandType |
|||||||||||||||||||||||||||||||
nCommandType (4 bytes): An unsigned 32-bit integer. The type of command to follow.
-
Defined types are described in the following table.
-
Value
Description
0x00000001
Buffer: Followed by a buffer information header and associated buffer payload.
0x00000002
Shutdown: Last message sent. Endpoint will no longer communicate.