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

Adding ethernet library.

This commit is contained in:
David A. Mellis
2008-07-30 14:47:36 +00:00
parent c85f5ba754
commit 92797b603e
17 changed files with 3033 additions and 0 deletions

View File

@ -0,0 +1,22 @@
#ifndef Ethernet_h
#define Ethernet_h
#include <inttypes.h>
#include "Client.h"
#include "Server.h"
class EthernetClass {
private:
public:
static uint8_t _state[MAX_SOCK_NUM];
static uint16_t _server_port[MAX_SOCK_NUM];
void begin(uint8_t *, uint8_t *);
void begin(uint8_t *, uint8_t *, uint8_t *);
void begin(uint8_t *, uint8_t *, uint8_t *, uint8_t *);
friend class Client;
friend class Server;
};
extern EthernetClass Ethernet;
#endif