Socket New IPv4 Client - 0xCC
Description
The XBee Cellular modem generates this frame when an incoming connection is accepted on a listener socket.
This frame contains the original listener's socket ID and a new socket ID of the incoming connection, along with the connection's remote address information.
Format
The following table provides the contents of the frame. For details on frame structure, see API frame format.
Field name | Field value | Data type | Description |
---|---|---|---|
Frame type |
0xCC |
Byte |
|
Socket ID |
|
Byte |
The socket ID of the listener socket. |
Client Socket ID |
|
Byte |
The socket ID of the new connection. |
Remote address | 32-bit big endian | ||
Remote port | 16-bit big endian |