1
0
mirror of https://github.com/KDE/krfb synced 2026-07-01 07:41:17 -07:00
Files
krfb/kinetd/kinetdmodule.desktop
Tim Jansen 41a9dc2161 LAN-Browsing support for krfb using OpenSLP (krdc will follow).
SLP (RFC 2608) allows searching your LAN for services and works either
peer-to-peer or with one or more directory servers. Unlike other browsing
methods it can also work over several subnets (at least if your router can
route multicast traffic). You can get the library and instructions (you
need to run a small daemon on each system that announces services) at
www.openslp.org.

This patch adds:
- a generic class for registering SLP services
- a class to find your computer's LAN and non-public Internet address
  (replaces the code in configuration_hostname.cpp, should be more
   reliable and work better on non-Linux-machines)
- generic SLP support for kinetd
- SLP announcements when krfb/kinetd is open for uninvited connections
  (invited connections will not be announced)

If OpenSLP is not installed configure should disable the feature. The code
uses the SLP API as specified in RFC 2614 and it would be interesting to know
whether it also supports the SLP library that ships with Solaris - maybe
the configure script has to be tweaked for this...

(wow, i'm really communicative today)

svn path=/trunk/kdenetwork/krfb/; revision=166638
2002-07-14 15:14:19 +00:00

60 lines
1.7 KiB
Desktop File

# describes the servicetype that you need to implement in order to use
# kinetd.
[Desktop Entry]
Type=ServiceType
X-KDE-ServiceType=KInetDModule
Name=KInetD Module Type
Name[bs]=KInetD tip modula
Name[da]=KInetD-modultype
Name[el]=Τύπος αρθρώματος KInetD
Name[es]=Tipo de módulo KInetD
Name[fi]=KInetD modulityyppi
Name[he]=סוג מודול של KInetD
Name[hr]=Tip KInetD Modula
Name[pt_BR]=Módulo KInetD
Name[ro]=Tip modul KInetD
Name[sv]=Kinetd-modultyp
Name[tr]=KDED Modül Türü
# id to manipulate the service
[PropertyDef::X-KDE-KINETD-id]
Type=QString
# describes the TCP port kinetd should listen to
[PropertyDef::X-KDE-KINETD-port]
Type=int
# if set and >0, the number of ports kinetd should probe if the port is in use
[PropertyDef::X-KDE-KINETD-autoPortRange]
Type=int
# if enabled, kinetd will listen on the port. Can be overridden using the
# dcop interface.
[PropertyDef::X-KDE-KINETD-enabled]
Type=bool
# if set, this argument is given to the app to start, followed by the number
# of the socket's fd
[PropertyDef::X-KDE-KINETD-argument]
Type=QString
# if true, kinetd can accepts several connections at the same time. Otherwise
# it will block the port when a connection has been established.
[PropertyDef::X-KDE-KINETD-multiInstance]
Type=bool
# if set, kinetd will register the given URL at the local SLP SA while
# the port is open. The following strings will be substituted:
# %h with the local IP address
# %p with the port number
[PropertyDef::X-KDE-KINETD-serviceURL]
Type=QString
# if kinetd registers a service URL, this string will be used for its attributes.
# The following strings will be substituted:
# %h with the local IP address
# %p with the port number
[PropertyDef::X-KDE-KINETD-serviceAttributes]
Type=QString