Re: Checking for other copies of my app running on a LAN
Re: Checking for other copies of my app running on a LAN
- Subject: Re: Checking for other copies of my app running on a LAN
- From: Marc Krochmal <email@hidden>
- Date: Tue, 10 Feb 2004 23:12:08 -0800
On Feb 10, 2004, at 5:53 PM, Tregaskis, Wade wrote:
What is the recommended method, under OSX, to check for other copies
of
my software running on a LAN? My client is vehement about doing a
serial number conflict check during launch.
Rendezvous should do what you want, although I'm not sure off hand
whether it requires you to provide a service port or not. If all else
fails you can just set the service port to 0 or some junk value, and
ignore it anyway.
Wade is correct. You should use Rendezvous and you should specify a
port number of 0. However, only specify a port 0 if you don't need to
Browse for these services. In future versions of Mac OS X, you won't
be able to Browse for services that are registered with port number 0.
If you expect that you'll want to Browse for services, set the port to
anything other than 0. Port 9 would be a good choice.
-Marc
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.