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

Changes to integrate latest core updates to WiFly branch

This commit is contained in:
mlafauci
2011-08-31 10:34:51 +02:00
parent 9785b99cba
commit 00b945d869
23 changed files with 136 additions and 251 deletions

25
WiFi/WiFiServer.h Executable file
View File

@ -0,0 +1,25 @@
#ifndef wifiserver_h
#define wifiserver_h
extern "C" {
#include "utility/wl_definitions.h"
}
#include "Server.h"
class WiFiClient;
class WiFiServer : public Server {
private:
uint16_t _port;
void* pcb;
public:
WiFiServer(uint16_t);
WiFiClient available(uint8_t* status = NULL);
void begin();
virtual void write(uint8_t);
virtual void write(const char *str);
virtual void write(const uint8_t *buf, size_t size);
};
#endif