Skip to content

Commit 6cdf459

Browse files
committed
add localPort to EthernetClient, simplify operator==
1 parent 68e218d commit 6cdf459

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/arduino/Client.h

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class Client : public Stream {
1919
virtual void stop() = 0;
2020
virtual uint8_t connected() = 0;
2121
virtual operator bool() = 0;
22+
virtual uint16_t localPort() = 0;
2223
virtual IPAddress remoteIP() = 0;
2324
virtual uint16_t remotePort() = 0;
2425
protected:

0 commit comments

Comments
 (0)