• 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
Using CFNetwork on 10.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using CFNetwork on 10.1


  • Subject: Using CFNetwork on 10.1
  • From: Chris Silverberg <email@hidden>
  • Date: Mon, 20 May 2002 00:26:19 -0700

Hi folks,

This weekend I adapted some code to use CFNetwork/CFStream for some simple HTTP posts. It's working pretty well, but there's one issue that I'd like to ask about. Under MacOS X 10.1.4, my callback never gets a notification for kCFStreamEventEndEncountered. I do get an extra kCFStreamEventHasBytesAvailable with a zero count that tells me that I've read all the data, so I can use that instead. However, under Jaguar I get the kCFStreamEventEndEncountered just fine.

Is this a known issue? Is it reasonable to simply treat the zero length kCFStreamEventHasBytesAvailable as a defacto end?

thanks much,
Chris
_______________________________________________
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: Using CFNetwork on 10.1
      • From: Becky Willrich <email@hidden>
References: 
 >TCPIP Interface Name? (From: Duane Murphy <email@hidden>)

  • Prev by Date: TCPIP Interface Name?
  • Next by Date: Old System Configuration Framework APIs
  • Previous by thread: TCPIP Interface Name?
  • Next by thread: Re: Using CFNetwork on 10.1
  • Index(es):
    • Date
    • Thread