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 33d5be3 commit 211a57aCopy full SHA for 211a57a
libraries/WiFi/src/WiFiUdp.cpp
@@ -154,7 +154,7 @@ int arduino::WiFiUDP::read(unsigned char* buffer, size_t len) {
154
IPAddress arduino::WiFiUDP::remoteIP() {
155
SocketAddress remoteAddress("");
156
157
- if(_socket.getpeername(&remoteAddress)) != NSAPI_ERROR_OK){
+ if(_socket.getpeername(&remoteAddress) != NSAPI_ERROR_OK){
158
return nullptr;
159
}
160
@@ -165,7 +165,7 @@ IPAddress arduino::WiFiUDP::remoteIP() {
165
uint16_t arduino::WiFiUDP::remotePort() {
166
167
168
169
170
171
0 commit comments