We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e580592 commit 94fcb02Copy full SHA for 94fcb02
libraries/Ethernet/src/EthernetClient.cpp
@@ -150,7 +150,7 @@ void EthernetClient::stop() {
150
151
uint8_t EthernetClient::connected() {
152
if (_sock == MAX_SOCK_NUM) return 0;
153
-
+
154
uint8_t s = status();
155
return !(s == SnSR::LISTEN || s == SnSR::CLOSED || s == SnSR::FIN_WAIT ||
156
(s == SnSR::CLOSE_WAIT && !available()));
@@ -172,6 +172,6 @@ bool EthernetClient::operator==(const EthernetClient& rhs) {
172
return _sock == rhs._sock && _sock != MAX_SOCK_NUM && rhs._sock != MAX_SOCK_NUM;
173
}
174
175
-+uint8_t EthernetClient::getSocketNumber () {
176
-+ return _sock;
177
-+}
+uint8_t EthernetClient::getSocketNumber() {
+ return _sock;
+}
0 commit comments