• 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: mount() from Cocoa App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mount() from Cocoa App


  • Subject: Re: mount() from Cocoa App
  • From: Jim Luther <email@hidden>
  • Date: Mon, 31 Oct 2005 13:44:33 -0800


On Oct 31, 2005, at 8:43 AM, Jim Luther wrote:

I'd think the best solution for getting the server addresses (and it's very likely that there will be more than one address for a net location) for a particular volume would be to get the volume's URL with FSCopyURLForVolume and then parse the net location out of the URL (see the DisplayURL sample). You can then use the CFHost routines to get the addresses for that net location. Then, you can compare those addresses to the address of the server you are about to mount.

Correction: Make that "host" instead of "net location".

- Jim (excuse... needed morning coffee)
_______________________________________________
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


References: 
 >Re: mount() from Cocoa App (From: Jim Luther <email@hidden>)
 >Re: mount() from Cocoa App (From: Quinn <email@hidden>)
 >Re: mount() from Cocoa App (From: Jim Luther <email@hidden>)
 >Re: mount() from Cocoa App (From: Dalton Hamilton <email@hidden>)
 >Re: mount() from Cocoa App (From: "Philip D. Wasson" <email@hidden>)
 >Re: mount() from Cocoa App (From: Dalton Hamilton <email@hidden>)
 >Re: mount() from Cocoa App (From: Dalton Hamilton <email@hidden>)
 >Re: mount() from Cocoa App (From: Jim Luther <email@hidden>)

  • Prev by Date: Re: mount() from Cocoa App
  • Next by Date: Detecting 2 Ethernet inbuilt
  • Previous by thread: Re: mount() from Cocoa App
  • Next by thread: Configuration API's in Mac OS X
  • Index(es):
    • Date
    • Thread