m_domain = fcr_domain;
}
+void CZeroconfBrowser::ZeroconfService::SetHostname(const CStdString& fcr_hostname)
+{
+ m_hostname = fcr_hostname;
+}
+
void CZeroconfBrowser::ZeroconfService::SetIP(const CStdString& fcr_ip)
{
m_ip = fcr_ip;
void SetIP(const CStdString& fcr_ip);
const CStdString& GetIP() const {return m_ip;}
+ void SetHostname(const CStdString& fcr_hostname);
+ const CStdString& GetHostname() const {return m_hostname;}
+
void SetPort(int f_port);
int GetPort() const {return m_port;}
//2 entries below store 1 ip:port pair for this service
CStdString m_ip;
int m_port;
+
+ //used for mdns in case dns resolution fails
+ //we store the hostname and resolve with mdns functions again
+ CStdString m_hostname;
//1 entry below stores the txt-record as a key value map for this service
tTxtRecordMap m_txtrecords_map;