summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol/WINNetworkService.cxx
blob: 144b33aee7d2b8b857464f82f7c2982a12b6d238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <string>
#include <iostream>
#include "WINNetworkService.hxx"
#include "mDNSResponder/dns_sd.h"

void sd::WINNetworkService::setup()
{
    DNSServiceErrorType err = DNSServiceRegister(&client, 0, 0, NULL, kREG_TYPE, "local", NULL, 1599, 1, "", NULL, this );

    // Fail silently
}

void sd::WINNetworkService::clear()
{
    DNSServiceRefDeallocate(client);
}