Re: Exception using custom input stream for NSURLRequest
Re: Exception using custom input stream for NSURLRequest
- Subject: Re: Exception using custom input stream for NSURLRequest
- From: Jens Alfke <email@hidden>
- Date: Sun, 05 Feb 2012 12:24:43 -0800
I was able to work around the problem by implementing both -_scheduleInCFRunLoop:forMode: and another undocumented method,
_setCFClientFlags:callback:context. It’s pretty clear that these are parallels to similarly-named methods in CFStream.h, so it wasn’t hard to figure out what they’re supposed to do. After that, the custom stream appears to work.
I’m having another problem now, but it’s not directly related to this so I’ll post about it in a different thread.
—Jens
_______________________________________________
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