Skip to content

Commit 3491ca7

Browse files
authored
1 parent 0e341a6 commit 3491ca7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: cores/esp32/Udp.h

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class UDP: public Stream
4343

4444
public:
4545
virtual uint8_t begin(uint16_t) =0; // initialize, start listening on specified port. Returns 1 if successful, 0 if there are no sockets available to use
46+
virtual uint8_t beginMulticast(IPAddress, uint16_t) { return 0; } // initialize, start listening on specified multicast IP address and port. Returns 1 if successful, 0 on failure
4647
virtual void stop() =0; // Finish with the UDP socket
4748

4849
// Sending UDP packets

0 commit comments

Comments
 (0)