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

Moving libraries out of arduino platform / core directory and to top-level.

This commit is contained in:
David A. Mellis
2009-11-07 17:54:56 +00:00
parent ff0336a3b6
commit 3075c8e4fd
90 changed files with 91 additions and 48 deletions

View File

@ -0,0 +1,25 @@
#ifndef Server_h
#define Server_h
extern "C" {
#include "utility/types.h"
}
#include "Print.h"
class Client;
class Server : public Print {
private:
uint16_t _port;
void accept();
public:
Server(uint16_t);
Client available();
void begin();
virtual void write(uint8_t);
virtual void write(const char *str);
virtual void write(const uint8_t *buf, size_t size);
};
#endif