Really Basic Q
Really Basic Q
- Subject: Really Basic Q
- From: RR <email@hidden>
- Date: Tue, 24 Sep 2002 13:50:48 -0400
Hello all, using some example code from Douglas Davidson, and reading a
header file or two, I have constructed a call to
CFSocketCreateConnectedToSocketSignature() using kCFSocketDataCallBack
and it appears to work. Using netstat I can see that a client
connection does open.
But I am having two problems. Firstly, it does not appear that my
callback function is ever called. Secondly, how do I take the data
that's given to my callback function, and for example, display it in an
NSTextView. I can't seem to figure out how to exchange data between
CoreFoundation and the Appkit. Because my callback must be a C
function and not Objective C, I cannot reference [self] from within it.
Thanks very much,
RR
_______________________________________________
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.