Skip to content
Snippets Groups Projects
Commit d4210ea2 authored by Sandeep Mistry's avatar Sandeep Mistry
Browse files

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

parent 7bd2eca5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment