Skip to content

Ethernet UDP.beginPacket reference #2451

@SurferTim

Description

@SurferTim

The ethernet UDP.beginPacket function reference is incorrect. It shows beginPacket does not return a value, when in fact it does. This is from EthernetUdp.h

// Start building up a packet to send to the remote host specific in ip and port
// Returns 1 if successful, 0 if there was a problem with the supplied IP address or port
virtual int beginPacket(IPAddress ip, uint16_t port);

http://arduino.cc/en/Reference/EthernetUDPBeginPacket

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions