Arduino STK
4.6.2
src
ArdUdp.h
1
#include "ArdConfig.h"
2
#ifdef ESP32
3
4
#ifndef ARDUPD_H
5
#define ARDUPD_H
6
7
#include <WiFi.h>
8
#include <WiFiClient.h>
9
#include <WiFiUdp.h>
10
11
namespace
stk
{
12
13
/***************************************************/
24
/***************************************************/
25
26
class
ArdUdp :
public
WiFiUDP {
// EthernetUDP {
27
public
:
28
ArdUdp(
char
* targetUdpAddressStr,
int
targetPort);
29
ArdUdp(IPAddress targetUdpAddress,
int
targetPort);
30
size_t
write(
const
uint8_t * buffer,
size_t
size );
31
bool
isValidHost();
32
33
protected
:
34
IPAddress targetUdpAddress;
35
int
targetPort;
36
bool
isValidHostFlag;
37
};
38
39
}
40
41
#endif
42
#endif
stk
The STK namespace.
Definition
ADSR.h:8
Generated by
1.15.0