Provide for support for ZeroConf/Bonjour

Provide for support for ZeroConf/Bonjour, by allowing derived classes
access to _sock and _remaining. See
https://github.com/lathoub/EthernetBonjour
This commit is contained in:
lathoub 2015-08-16 15:29:26 +02:00
parent 695fc40fbd
commit 006124136e
1 changed files with 3 additions and 1 deletions

View File

@ -43,11 +43,13 @@
class EthernetUDP : public UDP {
private:
uint8_t _sock; // socket ID for Wiz5100
uint16_t _port; // local port to listen on
IPAddress _remoteIP; // remote IP address for the incoming packet whilst it's being processed
uint16_t _remotePort; // remote port for the incoming packet whilst it's being processed
uint16_t _offset; // offset into the packet being sent
protected:
uint8_t _sock; // socket ID for Wiz5100
uint16_t _remaining; // remaining bytes of incoming packet yet to be processed
public: