WiFiUDP.begin()

Description

Initializes the WiFi UDP library and network settings. Starts 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


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.