Skip to content

Clearing buffer is taking a long time on Arduino Wifi R4. #26

@gsrunion

Description

@gsrunion

while (getStream().read() >= 0) {

Put a breakpoint here to find that this is the cause of a ~10 latency in responses being sent out on my system. I comment this out and things seem to run swimmingly, with near instant replies and no other adverse behavior. Is there a more intelligent way to do this instead of a byte by byte read (which I think this is)?

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