Arduino Function: WiFiUDP.begin

Description

This method initializes the WiFi UDP library and the network settings. It also starts the WiFiUDP socket, listening at local port.

Syntax

WiFiUDP.begin(port);

Parameters

  • port: the local port to listen on (int)

Returns

 1: if successful 0: if there are no sockets available to use


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