mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Changed names of the Ethernet classes: Client -> EthernetClient, NetClient -> Client, and basic testing performed
This commit is contained in:
@ -4,8 +4,8 @@
|
||||
#include <inttypes.h>
|
||||
//#include "w5100.h"
|
||||
#include "IPAddress.h"
|
||||
#include "Client.h"
|
||||
#include "Server.h"
|
||||
#include "EthernetClient.h"
|
||||
#include "EthernetServer.h"
|
||||
|
||||
#define MAX_SOCK_NUM 4
|
||||
|
||||
@ -29,8 +29,8 @@ public:
|
||||
IPAddress gatewayIP();
|
||||
IPAddress dnsServerIP();
|
||||
|
||||
friend class Client;
|
||||
friend class Server;
|
||||
friend class EthernetClient;
|
||||
friend class EthernetServer;
|
||||
};
|
||||
|
||||
extern EthernetClass Ethernet;
|
||||
|
Reference in New Issue
Block a user