Re: Getting a list of processes in a network
Re: Getting a list of processes in a network
- Subject: Re: Getting a list of processes in a network
- From: email@hidden
- Date: Tue, 18 Jun 2002 09:32:12 -0500
Well, there are a million ways, but the common approach would be to
issue a
UDP broadcast (which of course your own program would listen to) asking
for everyone
to "report back" at a known UDP (or TCP) port and the requesting
machines address..
In Jaguar (if you want to wait) you could probably utilize the new
"Rendevouz"
protocol which registers (and listens for) "new machines" to announce
services
when the are "added" to the network.. You could make your app a
Rendevouz service
and then listen for others to announce themselves to you.. and
vice-versa..
It is really part of the Apple's commitment to ZCN (zero config
networking) but it can
be used for a lot more.. The demo at the Dev Conf. was iTunes.. When
another
iTunes machine was on the network they could "automagically" share the
music
libraries.. The new libraries would just show up and disappear as the
machines
were turned on/off.
ZCN uses UDP itself much as I indicated as well as DHCP and DNS in a
unique way..
Food for thought..
On Tuesday, June 18, 2002, at 02:53 AM, Lorenzo Puleo wrote:
Hi,
I would like to know how many copies of my software are running in the
office (the same network). How should I have to do?
--
Lorenzo Puleo
mailto:email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.