Skip to content

Udp endPacket() returns -1 on error and 7 on success #138

Closed
@tonu42

Description

@tonu42

Been using Udp a lot and believe when the packet fails to send successfully it should return 0, and on success a 1.

From cores/esp32/Udp.h

// Returns 1 if the packet was sent successfully, 0 if there was an error virtual int endPacket() =0;

Below screen shots to support.

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions