• 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: Checking for other copies of my app running on a LAN
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Checking for other copies of my app running on a LAN (From: "Tregaskis, Wade" <email@hidden>)

  • Prev by Date: Re: Checking for other copies of my app running on a LAN
  • Next by Date: Re: UDP broadcast address
  • Previous by thread: Re: Checking for other copies of my app running on a LAN
  • Next by thread: Internet Config: Mac OS X 10.3 issue
  • Index(es):
    • Date
    • Thread