how to archive NSNetService?
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