Re: find all computers in LAN submask



Gernot Frisch wrote:
Hi,

we're working on a game for a handheld device, running linux.
We want a network mode, where each client automatically finds the
"server" conputer in LAN. So, my idea was to get a list of all
responding ip addresses and query each one if the server program is up.

Usually you do some kind of registration and the client does a look up
for the service. Things like openslp (slpd) etc, are some examples
that servers could use to advertise things. The handheld clients
would query via slp protocol for the server on the network.


However, ping'ing 254 computers seems a dull idea to me.

Assuming a /24 netmask eh? Imagine a /16, etc!! Also, you
cannot assume that a machine will answer a ping request. Or anything
else you might throw at it (especially in this age of firewalls).


What would you advice?

Switch to a mechanism where the client use some kind of Service
Location whatever solution to find the server...

You might have a managed switch on a LAN that can tell you
about some things... but I think that's the WRONG idea.
.



Relevant Pages

  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)
  • This is going straight to the pool room
    ... or not the client has privilege to do what they're trying to do, ... The server environment is this: ... 3GL User action Routines that Tier3 will execute on your behalf during the ... Routine Name: USER_INIT ...
    (comp.os.vms)
  • [Full-Disclosure] R: Full-Disclosure Digest, Vol 3, Issue 42
    ... Full-Disclosure Digest, Vol 3, Issue 42 ... SD Server 4.0.70 Directory Traversal Bug ... Arkeia Network Backup Client Remote Access ...
    (Full-Disclosure)
  • Re: What doesnt lend itself to OO?
    ... > rather than client code. ... no way to do that without also touching the object with clock semantics ... will not encapsulate both clock semantics and network semantics. ... The server can do whatever it wants ...
    (comp.object)
  • RE: Fax monitor incoming + outgoing calls?
    ... problem between the client computer and the SBS server. ... Client is using the internal IP address of the SBS server as the ... To the folder redirection GPO issue: ...
    (microsoft.public.windows.server.sbs)

Loading