UDPIsGetReady Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
UDPIsGetReady Function
C
WORD UDPIsGetReady(
    UDP_SOCKET s
);
Description

This function determines if bytes can be read from the specified UDP socket. It also prepares the UDP module for reading by setting the indicated socket as the currently active connection.

Preconditions

UDPInit() must have been previously called.

Parameters
Parameters 
Description 
The socket to be made active (which has already been opened or is listening) 
Returns

The number of bytes that can be read from this socket.

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