rem This script illustrates the JmDNS bundle rem DNS-SD or mDNS or Apple' RendezVous/Bonjour is the same service location protocol based on DNS for adhoc networks rem (c) Didier Donsez, 2005 rem start the "run" command http://www-adele.imag.fr/~donsez/dev/osgi/scriptcmd/scriptcmd.jar to run it obr install "OSGi Util" obr install "OSGi Service" start http://www-adele.imag.fr/~donsez/dev/osgi/jmdns/jmdns.jar rem Browse with a Apple'Bonjour browser (the IE plugin for instance) services mdns type mdns list _http._tcp.local. mdns reg _http._tcp.local. bar 80 /admin mdns reg _http._tcp.local. foo 80 0 0 path=/admin;tic=tac mdns list _http._tcp.local. mdns type mdns info mdns browser mdns type start http://www-adele.imag.fr/~donsez/dev/osgi/stresscmd/stresscmd.jar rem start http://www-adele.imag.fr/~donsez/dev/osgi/mdnseventlogger/mdnseventlogger.jar rem invoke (objectClass=fr.imag.adele.service.mdnseventlogger.ConfigMBean) setMDnsType _http._tcp.local. obr start "Http Service" obr start "Http Admin" rem browser the http://localhost:80/admin