24 #ifndef __NET_MDNS_H__
25 #define __NET_MDNS_H__
80 return myEntry == other.
myEntry;
84 return !(*
this == other);
98 myName(
"_http._tcp.local."),
102 myServiceAddressIpv4(0)
104 memset(myServiceAddressIpv6, 0,
sizeof(myServiceAddressIpv6));
111 bool isServiceRunning() {
return myIsRunning; }
114 myHostname = hostname;
116 void setServicePort(std::uint16_t port) { myPort = port; }
120 myTxtRecord = txt_record;
128 const std::chrono::milliseconds &max_query_time,
131 void executeDiscovery();
136 int openServiceSockets(
int *sockets,
int max_sockets);
139 std::uint16_t myPort;
142 int openClientSockets(
155 uint32_t myServiceAddressIpv4;
156 uint8_t myServiceAddressIpv6[16];
159 #endif // __NET_MDNS_H__
UT_StringHolder myFromAddr
NET_mDNSEntryType myEntryType
bool operator==(const NET_mDNSQueryResult &other) const
bool operator!=(const NET_mDNSQueryResult &other) const
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
GLuint const GLchar * name
**Note that the tasks the is the thread number *for the or if it s being executed by a non pool thread(this *can happen in cases where the whole pool is occupied and the calling *thread contributes to running the work load).**Thread pool.Have fun