• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is there anyway to list out all the hosts on LAN?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there anyway to list out all the hosts on LAN?


  • Subject: Re: Is there anyway to list out all the hosts on LAN?
  • From: Alexander von Below <email@hidden>
  • Date: Mon, 12 Nov 2007 10:50:16 +0100

Hello Thomas,

you are correct, but I believe the Finder also uses Bonjour -- i.e. if no services are advertised, the machine does not appear.

If the original poster is looking for machines that have no services advertised, that is a different story -- and some machines may even be cloaked.

Alex

Am 12.11.2007 um 10:45 schrieb Thomas Tempelmann:

Hi all,
Is there any API can help to list out all the hosts on the LAN? I mean to get
the similar result just as when you clicking the “Network” item on Finder.

for afp devices (i.e. "Macs") this is relatively simple: Just use Rendezvous,
http://developer.apple.com/documentation/Networking/Conceptual/NSNetServicePro
gGuide/Articles/BrowsingForServices.html

I don't think that works any more for all cases. Macs used to _always_
advertise themselves via Rendezvous, but that has been changed by Apple
lately as it was considered a privacy issue. So, with current OS versions,
the Mac will only appear via Zerolink (Rendezvous) if the user has activated
some service that wants to make itself known.


Meaning that you cannot detect a Mac via Rendezvous if it's a clean install
without any Sharing services enabled.


So, if a Program on a Mac wants to find all other Macs, the users of those
Macs have to enable some Sharing first, or install another app that provides
a new Rendezvous service.


Thomas


_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Is there anyway to list out all the hosts on LAN?
      • From: "Jonathan Bringhurst" <email@hidden>
References: 
 >Re: Is there anyway to list out all the hosts on LAN? (From: Thomas Tempelmann <email@hidden>)

  • Prev by Date: Re: Is there anyway to list out all the hosts on LAN?
  • Next by Date: Re: Is there anyway to list out all the hosts on LAN?
  • Previous by thread: Re: Is there anyway to list out all the hosts on LAN?
  • Next by thread: Re: Is there anyway to list out all the hosts on LAN?
  • Index(es):
    • Date
    • Thread