diff --git a/cores/arduino/Udp.h b/cores/arduino/Udp.h index dc5644b9df279c01e73a9bf609dcc54dab11c6ab..89f31c676da0fac7e48a9d2b9d57d41c0701f96c 100644 --- a/cores/arduino/Udp.h +++ b/cores/arduino/Udp.h @@ -41,7 +41,8 @@ class UDP : public Stream { public: - 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 + 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 + 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 virtual void stop() =0; // Finish with the UDP socket // Sending UDP packets