1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Changed names of the Ethernet classes: Client -> EthernetClient, NetClient -> Client, and basic testing performed

This commit is contained in:
amcewen
2011-08-29 22:36:28 +01:00
parent b7533c1839
commit ad5dead85a
20 changed files with 89 additions and 89 deletions

View File

@ -0,0 +1,22 @@
#ifndef ethernetserver_h
#define ethernetserver_h
#include "Server.h"
class EthernetClient;
class EthernetServer :
public Server {
private:
uint16_t _port;
void accept();
public:
EthernetServer(uint16_t);
EthernetClient available();
virtual void begin();
virtual size_t write(uint8_t);
virtual size_t write(const char *str);
virtual size_t write(const uint8_t *buf, size_t size);
};
#endif