mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-16 00:32:06 +02:00
add support for AVR
this need some more testing but basics are done
This commit is contained in:
@ -68,20 +68,14 @@ public:
|
||||
void disconnect(void);
|
||||
void disconnect(uint8_t num);
|
||||
|
||||
#if (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266)
|
||||
IPAddress remoteIP(uint8_t num);
|
||||
#endif
|
||||
|
||||
protected:
|
||||
uint16_t _port;
|
||||
|
||||
#ifdef ESP8266
|
||||
WiFiServer * _server;
|
||||
#else
|
||||
#ifdef UIPETHERNET_H
|
||||
UIPServer * _server;
|
||||
#else
|
||||
EthernetServer * _server;
|
||||
#endif
|
||||
#endif
|
||||
WEBSOCKETS_NETWORK_SERVER_CLASS * _server;
|
||||
|
||||
WSclient_t _clients[WEBSOCKETS_SERVER_CLIENT_MAX];
|
||||
|
||||
|
Reference in New Issue
Block a user