UDPDiscard Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
UDPDiscard Function
C
void UDPDiscard();
Description

This function discards any remaining received data in the currently active UDP socket.

Preconditions

UDPIsGetReady() was previously called to select the currently active socket.

Returns

None

Remarks

It is safe to call this function more than is necessary. If no data is available, this function does nothing.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.