C
void UDPFlush();
Description
This function builds a UDP packet with the pending TX data and marks it for transmission over the network interface. Since UDP is a frame-based protocol, this function must be called before returning to the main stack loop whenever any data is written.
Preconditions
UDPIsPutReady() was previously called to specify the current socket, and data has been written to the socket using the UDPPut family of functions.
Returns
None
Remarks
Note that unlike TCPFlush, UDPFlush must be called before returning to the main stack loop. There is no auto transmit for UDP segments.