endPacket()

Description

Called after writing UDP data to the remote connection. It finishes off the packet and send it.

Syntax


WiFiUDP.endPacket();

Parameters

None

Returns

-1: if the packet was sent successfully
-0: if there was an error


Libraries Reference Home

The text of the 86Duino reference is a modification of the 86Duino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.