Arduino Function: WiFiLinkUDP.available

Description

Get the number of bytes (characters) available that can be read from the buffer. 
This is related on data that's already arrived.

This function can only be successfully called after UDP.parsePacket(). 
UDP.available() inherits from the Stream utility class.

Syntax

UDP.available()

Returns

 1: the number of bytes available in the current packet; 0: if parsePacket hasn't been called yet

Note

Include WiFiLink.h and WiFiUdp.h, in head to the code, when you use the UDP functions.


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc