Преглед на файлове

Support generic UDP beginMulticast()

main
PaulStoffregen преди 6 години
родител
ревизия
e1676586f1
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. +1
    -0
      teensy/Udp.h
  2. +1
    -0
      teensy3/Udp.h

+ 1
- 0
teensy/Udp.h Целия файл



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; }
virtual void stop() =0; // Finish with the UDP socket virtual void stop() =0; // Finish with the UDP socket


// Sending UDP packets // Sending UDP packets

+ 1
- 0
teensy3/Udp.h Целия файл



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; }
virtual void stop() =0; // Finish with the UDP socket virtual void stop() =0; // Finish with the UDP socket


// Sending UDP packets // Sending UDP packets

Loading…
Отказ
Запис