WiFi - WiFiUDP.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