Skip to content

Commit 3443463

Browse files
committed
There is no parameterless UDP::leaveMulticast()
1 parent a3ea479 commit 3443463

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/content/reference/firmware.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3250,14 +3250,15 @@ Must be called only after `begin()` so that the network interface is established
32503250

32513251
_Since 0.4.5_
32523252

3253-
Leaves a multicast address on all UDP sockets that are on the same network interface as this one.
3253+
Leaves a multicast group previously joined on a specific multicast address.
32543254

32553255
```cpp
32563256
// SYNTAX
32573257

32583258
UDP udp;
3259+
IPAddress multicastAddress(224,0,0,0);
32593260

3260-
udp.leaveMulticast();
3261+
udp.leaveMulticast(multicastAddress);
32613262
```
32623263
32633264
{{/if}}

0 commit comments

Comments
 (0)