Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding an implimentation from the Arduino Client interface #389

Open
ArcaneBlackwood opened this issue Apr 20, 2020 · 0 comments
Open

Adding an implimentation from the Arduino Client interface #389

ArcaneBlackwood opened this issue Apr 20, 2020 · 0 comments

Comments

@ArcaneBlackwood
Copy link

ArcaneBlackwood commented Apr 20, 2020

Request for simply adding and defining said code in EtherCard.h:

class EtherClient : public Client {
  public:
    int connect(IPAddress ip, uint16_t port);
    int connect(const char *host, uint16_t port);
    size_t write(uint8_t);
    size_t write(const uint8_t *buf, size_t size);
    int available();
    int read();
    int read(uint8_t *buf, size_t size);
    int peek();
    void flush();
    void stop();
    uint8_t connected();
    operator bool();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant