• 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
Async HTTP stream never gets called n 10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Async HTTP stream never gets called n 10.2


  • Subject: Async HTTP stream never gets called n 10.2
  • From: Miro Jurišić <email@hidden>
  • Date: Wed, 16 Feb 2005 06:27:33 -0500

I have an odd problem with one of my async HTTP stream callbacks never being called on 10.2. I am going through a sequence where I create one stream, wait for it to finish downloading, then create another, wait for it to finish downloading, etc, and when I get to the 4th stream, suddenly my stream callback is never getting called. I am calling:

CFReadStreamSetClient(
mReadStream,
kCFStreamEventHasBytesAvailable | kCFStreamEventErrorOccurred | kCFStreamEventEndEncountered,
MemoryDownloadProc,
&context
);
CFReadStreamScheduleWithRunLoop(mReadStream, ::CFRunLoopGetCurrent(), kCFRunLoopCommonModes);
CFReadStreamOpen(mReadStream);


but MemoryDownloadProc never fires. This _exact same code_ is used to set up the other streams and they work fine. Everything works fine on 10.3.

All calls are returning noErr or true, as appropriate.

I am looking for suggestions on what might be going wrong here.

Thanks,

meeroh

--

<http://web.meeroh.org/> | KB1FMP

"And when I have understanding of computers, I shall be
        the supreme being!" -- Evil, "Time Bandits"

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Async HTTP stream never gets called n 10.2
      • From: Becky Willrich <email@hidden>
  • Prev by Date: Re: Need help getting FTP to work from within Acrobat 6.0 plugin
  • Next by Date: Re: Need suggestions regarding accessing system in a LAN through Cocoa
  • Previous by thread: Re: Need suggestions regarding accessing system in a LAN through Cocoa
  • Next by thread: Re: Async HTTP stream never gets called n 10.2
  • Index(es):
    • Date
    • Thread