|
Arduino DLNA Server
|
Access to UDP functionality: sending and receiving of data. More...
#include <UDPService.h>


Public Member Functions | |
| UDPService ()=default | |
| bool | begin (int port) override |
| bool | begin (IPAddressAndPort addr) override |
| bool | send (uint8_t *data, int len) override |
| bool | send (IPAddressAndPort addr, uint8_t *data, int len) override |
| RequestData | receive () override |
| virtual bool | begin (int port)=0 |
| virtual bool | begin (IPAddressAndPort addr)=0 |
| virtual bool | send (uint8_t *data, int len)=0 |
| virtual bool | send (IPAddressAndPort addr, uint8_t *data, int len)=0 |
| virtual RequestData | receive ()=0 |
Protected Attributes | |
| UDPType | udp |
| IPAddressAndPort | peer |
| bool | is_multicast = false |
Access to UDP functionality: sending and receiving of data.
This class is a template and requires you to specify the UDP implementation type. For example, use UDPService<WiFiUDP> for WiFiUDP or UDPService<MyUDPType> for a custom UDP class.
Usage: UDPService<WiFiUDP> udp; // Uses WiFiUDP UDPService<MyUDPType> udp2; // Uses custom UDP type
Implements IUDPService for sending and receiving UDP packets, including multicast support.
|
default |
|
inlineoverridevirtual |
Implements tiny_dlna::IUDPService.
|
inlineoverridevirtual |
Implements tiny_dlna::IUDPService.
|
inlineoverridevirtual |
Implements tiny_dlna::IUDPService.
|
inlineoverridevirtual |
Implements tiny_dlna::IUDPService.
|
inlineoverridevirtual |
Implements tiny_dlna::IUDPService.
|
protected |
|
protected |
|
protected |