• 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
Really Basic Q
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Really Basic Q
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: disabling mulicast loopback + getting IP
  • Next by Date: Re: Really Basic Q
  • Previous by thread: Re: disabling mulicast loopback + getting IP
  • Next by thread: Re: Really Basic Q
  • Index(es):
    • Date
    • Thread