mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
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:
parent
695fc40fbd
commit
006124136e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user