Arduino Function: WiFiUDP.endPacket

Description

This function must be called after writing UDP data to the remote connection. It ultimates the packet and sends it.

Syntax

WiFiUDP.endPacket();

Returns

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


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