Skip to content

Commit 617c4a4

Browse files
committed
Merge branch 'master' of https://github.com/lathoub/Arduino
2 parents 985244a + 0061241 commit 617c4a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libraries/Ethernet/src/EthernetUdp.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,13 @@
4343

4444
class EthernetUDP : public UDP {
4545
private:
46-
uint8_t _sock; // socket ID for Wiz5100
4746
uint16_t _port; // local port to listen on
4847
IPAddress _remoteIP; // remote IP address for the incoming packet whilst it's being processed
4948
uint16_t _remotePort; // remote port for the incoming packet whilst it's being processed
5049
uint16_t _offset; // offset into the packet being sent
50+
51+
protected:
52+
uint8_t _sock; // socket ID for Wiz5100
5153
uint16_t _remaining; // remaining bytes of incoming packet yet to be processed
5254

5355
public:

0 commit comments

Comments
 (0)