Skip to content

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

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)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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