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 |
s |
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.