1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-17 06:42:21 +03:00

WiFi library to the new format

This commit is contained in:
Fede85
2013-07-19 16:20:34 +02:00
parent e7ef38e27c
commit fd7e9c6d90
340 changed files with 167023 additions and 3927 deletions

27
libraries/WiFi/src/WiFiServer.h Executable file
View File

@@ -0,0 +1,27 @@
#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 size_t write(uint8_t);
virtual size_t write(const uint8_t *buf, size_t size);
uint8_t status();
using Print::write;
};
#endif