Skip to content

Providing a more fair servicing of multiple clients by not picking lowest numbered socket in available() #33

Closed
@agdl

Description

@agdl

From @sauerburger on January 21, 2016 18:5

I modified EthernetServer::available() such that it will not always pick the
lowest numbered socket by introducing an internal index int _sock which is incremented by one every time available() is called. (I suppose the previous comment XXX: don't always pick the lowest numbered socket. was to be understood as a TODO)

Copied from original issue: arduino/Arduino/pull/4463

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions