• 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
More newbie CF[Socket|Stream] questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More newbie CF[Socket|Stream] questions


  • Subject: More newbie CF[Socket|Stream] questions
  • From: Avi Drissman <email@hidden>
  • Date: Thu, 23 May 2002 14:12:20 -0400

1. In my CFSocket listener callback, I don't want a client at this time. Can I just call close() on the CFSocketNativeHandle passed in the data parameter?

2. Is there a way to get the IP address of the machine through CFWhatever, or should I do it as Stevens's UNP says? (Yes, I know that it could be multihomed...)

3. kCFStreamPropertySocketRemoteHostName isn't working for me. In the listener callback, I create the pair of streams from the socket I'm passed, schedule them with the run loop, open them, and I'm still getting null back from CF[Read|Write]StreamCopyProperty. What am I doing wrong here?

Avi
--
Avi Drissman
email@hidden
Argh! This darn mailserver is trunca
_______________________________________________
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: More newbie CF[Socket|Stream] questions
      • From: Douglas Davidson <email@hidden>
    • Re: More newbie CF[Socket|Stream] questions
      • From: Becky Willrich <email@hidden>
  • Prev by Date: Re: Bad things happening to listener CFSockets
  • Next by Date: Re: Bad things happening to listener CFSockets
  • Previous by thread: Re: Bad things happening to listener CFSockets
  • Next by thread: Re: More newbie CF[Socket|Stream] questions
  • Index(es):
    • Date
    • Thread