Re: CFReadStreamCopyProperty() returns NULL?
Re: CFReadStreamCopyProperty() returns NULL?
- Subject: Re: CFReadStreamCopyProperty() returns NULL?
- From: Jens Alfke <email@hidden>
- Date: Sun, 8 Feb 2009 13:28:34 -0800
I would guess that you can't access the response data until the stream
has connected and read data. I'm not sure about the concurrency model
of CFReadStream used with HTTP messages; it might be asynchronous, or
you might have to tell it to read first.
But the higher level question is, why are you using such a low-level
API instead of NSURLConnection? The latter will make your life much
easier, and it supports more HTTP features too, like redirects.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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