• 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: CFSocket questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFSocket questions


  • Subject: Re: CFSocket questions
  • From: Douglas Davidson <email@hidden>
  • Date: Tue, 10 Sep 2002 12:55:41 -0700

Here is a minimal example of a CFSocketContext:

CFSocketContext context = {0, self, NULL, NULL, NULL};

If you want the CFSocket to retain the info pointer (you may or may not; I tend to have the object own the CFSocket rather than the other way around) you would need to fill in the third and fourth slots (e.g. with CFRetain and CFRelease). The fifth slot is optional.

Douglas Davidson
_______________________________________________
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.

  • Follow-Ups:
    • Re: CFSocket questions
      • From: Edward Fink <email@hidden>
References: 
 >Re: CFSocket questions (From: "Edward Fink" <email@hidden>)

  • Prev by Date: Re: CFSocket questions
  • Next by Date: Re: CFSocket questions
  • Previous by thread: Re: CFSocket questions
  • Next by thread: Re: CFSocket questions
  • Index(es):
    • Date
    • Thread