ArduinoCore-API icon indicating copy to clipboard operation
ArduinoCore-API copied to clipboard

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

Open cmaglie opened this issue 13 years ago • 0 comments

This is Issue 616 moved from a Google Code project. Added by 2011-08-31T19:11:09.000Z by [email protected]. 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?

cmaglie avatar Nov 15 '12 18:11 cmaglie