3 #include "WINNetworkService.hxx"
4 #include "mDNSResponder/dns_sd.h"
7 void sd::WINNetworkService::setup()
9 DNSServiceErrorType err
= DNSServiceRegister(&client
, 0, 0, NULL
, kREG_TYPE
, "local", NULL
, 1599, 1, "", NULL
, this );
11 if (kDNSServiceErr_NoError
!= err
)
12 SAL_WARN("sdremote.wifi", "DNSServiceRegister failed: " << err
);
17 void sd::WINNetworkService::clear()
19 DNSServiceRefDeallocate(client
);