• 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
how to archive NSNetService?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to archive NSNetService?


  • Subject: how to archive NSNetService?
  • From: Allyn Bauer <email@hidden>
  • Date: Fri, 16 Jan 2009 16:00:11 -0600

Hello all,
I'm writing a fairly simple server <-> client app. The server
publishes a network name using Bonjour and clients get a list of
names. They choose one (for now). After this choice, I would like the
selection to somehow be saved using NSUserDefaults. I'm assuming the
easiest way to do this is to get the name of the saved network and
save that string. Is this assumption correct? If not, how would you
suggest I accomplish this? Is there anyway to save the enough network
information to reconnect to the same server even if the network name
has been changed?

The goal is to be able to automatically reconnect to an already chosen
network -- if there's one saved -- when the app loads.

I'm still learning this stuff, but it's becoming slightly easier.
Thanks for the help.

Regards,
Allyn
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: how to archive NSNetService?
      • From: "A.M." <email@hidden>
    • Re: how to archive NSNetService?
      • From: Chris Parker <email@hidden>
  • Prev by Date: Vvidget Code
  • Next by Date: mergeChangesFromContextDidSaveNotification effects
  • Previous by thread: Re: Vvidget Code
  • Next by thread: Re: how to archive NSNetService?
  • Index(es):
    • Date
    • Thread