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.
UDP::leaveMulticast()
1 parent a3ea479 commit 3443463Copy full SHA for 3443463
src/content/reference/firmware.md
@@ -3250,14 +3250,15 @@ Must be called only after `begin()` so that the network interface is established
3250
3251
_Since 0.4.5_
3252
3253
-Leaves a multicast address on all UDP sockets that are on the same network interface as this one.
+Leaves a multicast group previously joined on a specific multicast address.
3254
3255
```cpp
3256
// SYNTAX
3257
3258
UDP udp;
3259
+IPAddress multicastAddress(224,0,0,0);
3260
-udp.leaveMulticast();
3261
+udp.leaveMulticast(multicastAddress);
3262
```
3263
3264
{{/if}}
0 commit comments