Skip to content

error in UDP wifi transmission #4

@totoantibes

Description

@totoantibes

First, thanks for this code.
I found that there is an issue at the very end of it. you need to correct:
udp.beginPacket(remoteIp, port); // remote IP and port
to
udp.beginPacket(remoteIp, udp.remotePort()); // remote IP and port

otherwise connection is not established with the remote party
(the need of the temp variable remoteIP is questionable since you can access it via udp.remoteIP())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions