Skip to content

Commit

Permalink
Merge pull request #401 from TizenTeam/sandbox/rzr/review/master
Browse files Browse the repository at this point in the history
udp: Add beginMulticast method
  • Loading branch information
fpistm authored Jan 4, 2019
2 parents 0c6eccb + 9afa62b commit 116da52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cores/arduino/Udp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 116da52

Please sign in to comment.