Async HTTP stream never gets called n 10.2
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