14 #ifndef LINKLOCALCLIENT_H__
15 #define LINKLOCALCLIENT_H__
75 bool connect(
const std::string& service,
const std::string& type,
const std::string& domain,
int iface = 0 );
93 static void handleResolveReply( DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex,
94 DNSServiceErrorType errorCode,
const char *fullname,
const char *hosttarget,
95 uint16_t
port, uint16_t txtLen,
const unsigned char *txtRecord,
void *context );
96 static void handleQueryReply( DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex,
97 DNSServiceErrorType errorCode,
const char *fullname, uint16_t rrtype,
98 uint16_t rrclass, uint16_t rdlen,
const void *rdata, uint32_t ttl,
101 bool resolve(
const std::string& serviceName,
const std::string& regtype,
const std::string& replyDomain );
102 bool query(
const std::string& hostname,
int port );
103 void handleQuery(
const std::string& addr );
104 void sendStart(
const std::string& to );
106 DNSServiceRef m_qRef;
107 DNSServiceRef m_rRef;
108 DNSServiceRef m_currentRef;
This class implements a basic Jabber/XMPP Client.
An abstract base class for a connection.
An implementation of a link-local client.
virtual ConnectionError recv(int timeout=-1)
virtual void handleConnect(const ConnectionBase *connection)
virtual void handleStartNode(const Tag *start)
This is an abstraction of an XML element.
The namespace for the gloox library.