• 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
sockaddr -> string ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sockaddr -> string ?


  • Subject: sockaddr -> string ?
  • From: Matt Covey <email@hidden>
  • Date: Mon, 12 Jul 2004 08:22:12 -0700

-NSNetService:addresses produces a NSArray of NSData's containing a sockaddr

Since things like +NSHost:hostWithAddress: use an NSString (not an sockaddr), and NSHost returns -addresses as NSStrings, I need to convert between sockaddr and NSString.

Sure, I can write my own conversion routine, but is there a Mac OS X method I haven't been able to find?

TIA,

++matt
_______________________________________________
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.


  • Prev by Date: Re: Serial Modem Support on OSX?
  • Next by Date: Re: Help: MoreSCFPortScanner.c Problem
  • Previous by thread: Re: Serial Modem Support on OSX?
  • Next by thread: Re: Help: MoreSCFPortScanner.c Problem
  • Index(es):
    • Date
    • Thread