Skip to content

Conversation

@earlephilhower
Copy link
Owner

A flush() on a packet that's already been sent should be a no-op, not send a 0-byte UDP packet. Track when an outgoing packet is dirty and only endPacket()/transmit it when so.

Fixes #2617

A flush() on a packet that's already been sent should be a no-op, not
send a 0-byte UDP packet.  Track when an outgoing packet is dirty and
only endPacket()/transmit it when so.

Fixes #2617
@earlephilhower earlephilhower merged commit bda12cd into master Nov 17, 2024
26 checks passed
@earlephilhower earlephilhower deleted the udps branch November 17, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WiFiUdp flush() purpose

2 participants