8 UDPDevice(
const char *ip, uint16_t port,
bool bcast,
bool input);
11 virtual bool open()
override;
12 virtual bool close()
override;
14 virtual void set_speed(uint32_t speed)
override;
15 virtual ssize_t
write(
const uint8_t *buf, uint16_t n)
override;
16 virtual ssize_t
read(uint8_t *buf, uint16_t n)
override;
virtual bool close() override
virtual ssize_t write(const uint8_t *buf, uint16_t n) override
UDPDevice(const char *ip, uint16_t port, bool bcast, bool input)
virtual void set_blocking(bool blocking) override
virtual bool open() override
virtual void set_speed(uint32_t speed) override
virtual ssize_t read(uint8_t *buf, uint16_t n) override