TCPIP_UDP_RxOffsetSet Function
C
void TCPIP_UDP_RxOffsetSet(UDP_SOCKET hUDP, uint16_t rOffset);
Returns
None.
Description
This function allows the user to specify the read location within the socket RX buffer. Future calls to TCPIP_UDP_Get and TCPIP_UDP_ArrayGet will read data from the indicated location forward.
Preconditions
UDP socket should have been opened with TCPIP_UDP_ServerOpen/TCPIP_UDP_ClientOpen. hUDP - valid socket
Parameters
Parameters | Description |
---|---|
hUDP | UDP socket handle |
wOffset | Offset from beginning of UDP packet data payload to place the read pointer. |