[PATCH] Resolve Service address in DNSSD::RemoteService

Sebastian TrĂ¼g strueg at mandriva.com
Thu Mar 6 12:03:08 GMT 2008

Hi all,

please find attached a patch for kdelibs/dnssd which adds handling of service 
addresses. ATM we only get the hostname which is completely useless in my 
network since I get stuff like "local.local".

Address lookup was disabled via AVAHAI_LOOKUP_NO_ADDRESS. Why, I don't know.
Now the address is resolved and stored in ServiceBasePrivate, accessible via 
the new address() method. I know that it would probably make more sense to 
only store it in RemoteService but the design sees it only as a trivial 
extension to ServiceBase without any new members.

Any objections?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdelibs-dnssd-address.patch
Type: text/x-diff
Size: 5733 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080306/2a2eedeb/attachment.patch>

More information about the kde-core-devel mailing list