• 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
Gluing from NSNetService to FSMountServerVolumeSync()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Gluing from NSNetService to FSMountServerVolumeSync()


  • Subject: Gluing from NSNetService to FSMountServerVolumeSync()
  • From: Jerry Krinock <email@hidden>
  • Date: Sat, 27 Jun 2009 22:37:13 -0700

I discover NSNetService objects on the local network using NSNetServiceBrowser, and need to mount such a service using FSMountServerVolumeSync().

It does not work if in the URL I use the -name of the NSNetService (which is also the "Computer Name"):
afp://Newhall/NewhallHD


This doesn't work either:
   afp://Newhall.local/NewhallHD

But it works if I give it the computer's IP address, which I know because it's over on the next desk:
afp://10.0.1.201/NewhallHD


Is this expected behavior? Documentation says that url should be "The server to mount". Period. :(

If so, as long as I've got you on the line, -[NSNetService address] returns an empty set. Will this return the IP address after I - resolve it?

Thanks,

Jerry Krinock

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Gluing from NSNetService to FSMountServerVolumeSync()
      • From: Jens Alfke <email@hidden>
    • Re: Gluing from NSNetService to FSMountServerVolumeSync()
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: 3GS .. video .. compression?
  • Next by Date: Peer-to-Peer Ports
  • Previous by thread: ESP and nat-traversal
  • Next by thread: Re: Gluing from NSNetService to FSMountServerVolumeSync()
  • Index(es):
    • Date
    • Thread