From kde-core-devel Sat Apr 29 09:35:52 2000 From: aleXXX Date: Sat, 29 Apr 2000 09:35:52 +0000 To: kde-core-devel Subject: Re: Binding an app to a protocol (KVNC) X-MARC-Message: https://marc.info/?l=kde-core-devel&m=95700368703672 On Fri, 28 Apr 2000, Waldo Bastian wrote: >On Fri, 28 Apr 2000, aleXXX wrote: >> On Fri, 28 Apr 2000, Waldo Bastian wrote: >> >On Fri, 28 Apr 2000, aleXXX wrote: >> >> I think a good idea would be a "MimeType" for hosts. Then apps (kvnc, >> >> ktalk, rlogin,...) could be assigned to this mimetype. >> >> >> >> A directory of hosts can be created e.g by using kio_smb and I have some >> >> code lying around for listing hosts on a LAN without smb (not finished >> >> yet). >> > >> >Hosts?? >> >> Yes, hosts. > >Hmm.. that would need to be "SMB hosts" then. Because you would like to be >able to distinguish between a "SMB host" and e.g. a "HTTP host", "FTP host" >or "NFS Host". Ehmmm, no. What I have in mind is an ioslave, which is able to scan the local network for running hosts and which checks the running hosts for some (http, ftp, smb) ports ( I know, security, port scanning and so on). If a protocol is supported the ioslave will create files like http.desktop (containing a URL http://hostname) and so on on in the directory of this host. Open it -> you will get the appropriate service via the appropriate ioslave. I have some code for this here but not finished. And the type "host" would enable to use (or try to use) other services, which don't provide filesystems, so that ioslaves don't work (talk, vnc, ssh and so on). Bye Alex