Commit 5a05bf01 authored by Sandeep Mistry's avatar Sandeep Mistry Committed by Martino Facchin

Add virtual beginMulticast(...) stub to UDP class

parent 045d83b2
...@@ -42,6 +42,7 @@ class UDP : public Stream { ...@@ -42,6 +42,7 @@ class UDP : public Stream {
public: 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 virtual void stop() =0; // Finish with the UDP socket
// Sending UDP packets // Sending UDP packets
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment