D:/DRISSI/arduino-0022/arduino-0022/libraries/Ethernet/Ethernet.h
00001 #ifndef ethernet_h
00002 #define ethernet_h
00003 
00004 #include <inttypes.h>
00005 //#include "w5100.h"
00006 #include "Client.h"
00007 #include "Server.h"
00008 
00009 #define MAX_SOCK_NUM 4
00010 
00011 class EthernetClass {
00012 private:
00013 public:
00014   static uint8_t _state[MAX_SOCK_NUM];
00015   static uint16_t _server_port[MAX_SOCK_NUM];
00016   void begin(uint8_t *, uint8_t *);
00017   void begin(uint8_t *, uint8_t *, uint8_t *);
00018   void begin(uint8_t *, uint8_t *, uint8_t *, uint8_t *);
00019   friend class Client;
00020   friend class Server;
00021 };
00022 
00023 extern EthernetClass Ethernet;
00024 
00025 #endif