On Wednesday 27 October 2004 23:02, Josef Weidendorfer wrote: > On Wednesday 27 October 2004 20:14, Jakub Stachowski wrote: > > For the last month I have been working on DNS based service discovery > > (ZeroConf, Rendezvous) for KDE. You can get it from kdenonbeta/kdnssd. > Sounds cool. > > > - dynamic updates for dnssd:/ ioslave - just like local directories are > > updated by KDirWatch. This is big job because it requires to rewrite > > KDirWatch to support other protocols. > > This is the wrong place: KDirWatch is only for real files (local and mounted > from remote e.g. via NFS). > > You need to enhance the IO-Slave protocol for notifications: If an IO-Slave > supports notifications, directory listings can last infinitely, and file > changes/adding/removing are signaled while the listDir-Job is running. That's one way to implement it. Another one - which is already available - is to use KDirNotify to emit DCOP signals saying "things have changed in this directory, please relist it". -- David Faure, faure@kde.org, sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org). >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<