3

How to detect ( discover ) all of the web-servers by using j2me ? I mean that the web-servers are inside a LAN.

Reporter
  • 3,897
  • 5
  • 33
  • 47

1 Answers1

1

I assume you are not interested in asking every IP address or named host from the list hard-coded into an app.

You may find Zeroconf protocol useful. It is suited for discovering of available services with the means of broadcast or multicast IP packets.

Debian Wiki page has some links to Zeroconf software, including libapache2-mod-dnssd.

As for client part, maybe this will help: Are there any other Java libraries for bonjour/zeroconf apart from JMDNS?

Community
  • 1
  • 1
pwes
  • 2,040
  • 21
  • 30