Reference   Language | Libraries | Comparison | Changes

MKRNB : NBUDP.begin()

Description

Initializes the NB UDP library and network settings. Starts NBUDP socket, listening at local port PORT .

Syntax

NBUDP.begin(port);

Parameters

port: the local port to listen on (int)

Returns

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


See Also

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.