Syntax
virtual uint8_t begin(
    uint16_t port
);
ContentsIndex
PreviousUpNext
LUDP::begin Method
LUDP Class | Example
Syntax
virtual uint8_t begin(
    uint16_t port
);
Description

Initializes UDP function, and start listening on specified local port.

Parameters
Parameters 
Description 
uint16_t port 
the port number to listening for incoming UDP datagram
 
Returns

>= 1 if succeeded 

<= 0 if failed 

 

Example
    udp.begin(1234);   // start UDP on port 1234
File

LUdp.h

Class