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

Created an abstract base class UDP to match the Client and Server classes, and reworked the Ethernet library to use it and derive EthernetUDP.

This commit is contained in:
amcewen
2011-08-30 21:27:31 +01:00
parent ad5dead85a
commit a6093a8d91
8 changed files with 131 additions and 42 deletions

View File

@ -5,7 +5,7 @@
#ifndef DNSClient_h
#define DNSClient_h
#include <Udp.h>
#include <EthernetUdp.h>
class DNSClient
{
@ -35,7 +35,7 @@ protected:
IPAddress iDNSServer;
uint16_t iRequestId;
UDP iUdp;
EthernetUDP iUdp;
};
#endif