Re: timeout on CFReadStream?
Re: timeout on CFReadStream?
- Subject: Re: timeout on CFReadStream?
- From: Jens Alfke <email@hidden>
- Date: Sun, 22 Feb 2009 17:42:54 -0800
On Feb 22, 2009, at 10:11 AM, John Michael Zorko wrote:
What is the best way to implement a timeout on a CFReadStream in an
iPhone app? I think I can use an NSTimer and do it myself, but I
would like to know if there is an easier or better way ...
Yes, a timer is the way to go.
FYI, if you're implementing TCP connections, you might want to use my
MYNetwork framework, which is Obj-C based and a lot higher level than
CFReadStream.
http://mooseyard.com/projects/MYNetwork/
—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