Re: CFSocketCallBack
Re: CFSocketCallBack
- Subject: Re: CFSocketCallBack
- From: Rob Kuilman <email@hidden>
- Date: Thu, 14 Aug 2003 20:18:47 +0200
At first, i only used the kCFSocketReadCallBack, but that wasn't
working either. so i tried using those two at the same time..
Yes, they are using those exact same words :) but sometimes, when
you've tried everything :) you try the impossible :)
Robert K.
-----------------------------{ Official Cocoa Newbie!
}-----------------------------
web:
http://halfduplex.net/
email: email@hidden
On Thursday, August 14, 2003, at 08:20 PM, Douglas Davidson wrote:
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.