bump product version to 5.0.4.1
[LibreOffice.git] / sd / source / ui / remotecontrol / WINNetworkService.cxx
blob3643e1d2fd26f817fc3da16d7a6a0f48dad6ef04
1 #include <string>
2 #include <iostream>
3 #include "WINNetworkService.hxx"
4 #include "mDNSResponder/dns_sd.h"
5 #include <sal/log.hxx>
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);
14 // Fail silently
17 void sd::WINNetworkService::clear()
19 DNSServiceRefDeallocate(client);