• 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: CFSocketSignature & IPv6 addresses
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFSocketSignature & IPv6 addresses


  • Subject: Re: CFSocketSignature & IPv6 addresses
  • From: Douglas Davidson <email@hidden>
  • Date: Wed, 25 May 2005 16:11:04 -0700


On May 25, 2005, at 4:01 PM, OL&L Lists wrote:
I need to pack some socket info (family, type, port, address, etc) into a CFDictionary so that I can pass it to my helper tool.

I want to use a CFSocketSignature to hold this data but I notice the Apple docs say CFSocketSignature can only hold a sockaddr_in and not a sockaddr_in6 structure.


Where do they say that? CFSocketSignature has an address, which is a CFDataRef and should be able to hold any kind of sockaddr.

However, you cannot put a CFSocketSignature into a CFDictionary, because it is a struct and not a CFType. You can, however, place the address CFDataRef into a CFDictionary, and it may be sufficient for your needs.

Douglas Davidson
_______________________________________________
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: CFSocketSignature & IPv6 addresses
      • From: OL&L Lists <email@hidden>
References: 
 >CFSocketSignature & IPv6 addresses (From: OL&L Lists <email@hidden>)

  • Prev by Date: CFSocketSignature & IPv6 addresses
  • Next by Date: Re: CFSocketSignature & IPv6 addresses
  • Previous by thread: CFSocketSignature & IPv6 addresses
  • Next by thread: Re: CFSocketSignature & IPv6 addresses
  • Index(es):
    • Date
    • Thread