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

Re: CFSocketCallBack


  • Subject: Re: CFSocketCallBack
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 14 Aug 2003 11:20:13 -0700

On Thursday, August 14, 2003, at 10:58 AM, Rob Kuilman wrote:

_myConnection = CFSocketCreateConnectedToSocketSignature( NULL,
&mySocketAddress, kCFSocketReadCallBack | kCFSocketDataCallBack,
(CFSocketCallBack)&MyCallBack, NULL, 1);

You cannot use both the read and the data callback--they are mutually exclusive. See the explanation in the header comments--I think I even used the words "mutually exclusive" there.

Take a look at that, figure out which one you want, and if you're still having problems write to the list again, or better yet to email@hidden, which is specifically for networking issues.

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: CFSocketCallBack
      • From: Rob Kuilman <email@hidden>
References: 
 >CFSocketCallBack (From: Rob Kuilman <email@hidden>)

  • Prev by Date: Re: Re[2]: Control Over IB 'Visible At Launch Time' Flag
  • Next by Date: Re: French Localization and Accents
  • Previous by thread: CFSocketCallBack
  • Next by thread: Re: CFSocketCallBack
  • Index(es):
    • Date
    • Thread