blob: 3d096dc0fb5cc815eccc0894b5cf4f5da02107b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include <string>
#undef WB_LEFT
#undef WB_RIGHT
#include <dns_sd.h>
#include "ZeroconfService.hxx"
namespace sd{
class WINNetworkService : public ZeroconfService
{
private:
DNSServiceRef client;
public:
WINNetworkService(const std::string& aname = "", unsigned int aport = 1599)
: ZeroconfService(aname, aport), client(nullptr) {}
void clear() override;
void setup() override;
};
}
|