Re: Why would CFReadStreamSetProperty return FALSE?
Re: Why would CFReadStreamSetProperty return FALSE?
- Subject: Re: Why would CFReadStreamSetProperty return FALSE?
- From: Jeremy Wyld <email@hidden>
- Date: Sun, 22 Jan 2006 08:48:40 -0800
On Jan 22, 2006, at 8:23 AM, Martin Redington wrote: I'm also using CFReadStreamSetProperty to set the kCFStreamPropertySocketSecurityLevel entry, and that works fine.
I'm confused by this bit. Are you also calling this in addition to kCFStreamPropertySSLSettings?
There should be no threading issues associated with making these calls per se. Because you're making them from another thread, you always run a risk of not issuing the calls at the correct time unless your protocol has a mechanism to "know" when to do it.
You can always look at the CFSocketStream source.
The functions that you're interested in are _SocketStreamSecuritySetContext_NoLock and _SocketStreamSecuritySetInfo_NoLock.
jeremy |
_______________________________________________
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