diff options
Diffstat (limited to 'libraries/Ethernet/Ethernet.h')
| -rw-r--r-- | libraries/Ethernet/Ethernet.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/libraries/Ethernet/Ethernet.h b/libraries/Ethernet/Ethernet.h index c916dda..2a07ff3 100644 --- a/libraries/Ethernet/Ethernet.h +++ b/libraries/Ethernet/Ethernet.h @@ -6,12 +6,14 @@  #include "IPAddress.h"  #include "EthernetClient.h"  #include "EthernetServer.h" +#include "Dhcp.h"  #define MAX_SOCK_NUM 4  class EthernetClass {  private:    IPAddress _dnsServerAddress; +  DhcpClass* _dhcp;  public:    static uint8_t _state[MAX_SOCK_NUM];    static uint16_t _server_port[MAX_SOCK_NUM]; @@ -23,6 +25,7 @@ public:    void begin(uint8_t *mac_address, IPAddress local_ip, IPAddress dns_server);    void begin(uint8_t *mac_address, IPAddress local_ip, IPAddress dns_server, IPAddress gateway);    void begin(uint8_t *mac_address, IPAddress local_ip, IPAddress dns_server, IPAddress gateway, IPAddress subnet); +  int maintain();    IPAddress localIP();    IPAddress subnetMask(); | 
