Description
Use this frame to modify the behavior of sockets to change their behavior to be different than the normal default behavior. If the Option Data field is zero-length the request acts as a query, and the Connection Response - 0xC1 reports the current effective status.
Format
The following table provides the contents of the frame. For details on frame structure, see API Frames.
| Offset | Size | Frame Field | Description |
|---|---|---|---|
0 |
8-bit |
Start Delimiter |
Indicates the start of an API frame. |
1 |
16-bit |
Length |
Number of bytes between the length and checksum. |
3 |
8-bit |
Frame type |
0x41 |
4 |
8-bit |
Frame ID |
A reference identifier used to match status responses. Requests made with Frame ID 0 will not send a response. |
5 |
8-bit |
Socket ID |
The socket ID to modify. |
6 |
8-bit |
Option ID |
Identifier of the parameter to change. |
7 |
variable |
Option Data |
Variable length field based on option type. If zero length, the current effective value will be returned in the response frame. |
EOF |
8-bit |
Checksum |
0xFF minus the 8-bit sum of bytes from offset 3 to this byte (between length and checksum). |