Reference   Language | Libraries | Comparison | Changes

WiFiNINA : 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


Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

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