|
Method |
Description |
|
Destructor. LUDP will close resources when it is destroyed. | |
|
Number of remaining bytes in the current packet. Only meaningful after parsePacket() returns non-zero. | |
|
Initializes UDP function, and start listening on specified local port. | |
|
Send the datagram after calling beginPacket() and write(). | |
|
Stop processing current packet. | |
|
return the value of next available byte from current packet. The byte remains in the packet. | |
|
Read 1 byte from current packet after calling parsePacket(); | |
|
Read up to len bytes from current packet after calling parsePacket(); | |
|
retrieve the sender IP address of the current packet started by parsePacket() | |
|
retrieve the sender port of the current packet started by parsePacket() | |
|
Stop listening for UDP datagram and uninitializes UDP module. | |
|
Append 1 single byte into the datagram | |
|
Append a buffer into the datagram. |