arduino / arduino/ArduinoCore-API

accept() function missing from the new Server base class. [imported]

Offen
#43 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @cmaglie Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
306
Forks
150
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

This is [Issue 616](http://code.google.com/p/arduino/issues/detail?id=616) moved from a Google Code project.
Added by 2011-08-31T19:11:09.000Z by [dmel...@gmail.com](http://code.google.com/u/107726014984682000895/).
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium, Component-Core
### Original description

I'm guessing this is because we can't return a Client from it, and we're trying to avoid pointers or references. Maybe we can return a ClientProxy class or something, which also inherits from Client and basically wraps a pointer to a EthernetClient (or other subclass of Client)? Or even make the Client base class itself also able to act as a proxy?

What do you think, Adrian? Want to bring it up on the developers list?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.