Is it possible to set a CFReadStream to non-blocking or, failing
that, to time out after a specified interval?
you could do it on an MP thread, and kill it off after a time
Or use it in async mode (ie with a callback) and only read when you
get a kCFStreamEventHasBytesAvailable or use
CFReadStreamHasBytesAvailable(readStream) to see if the read would block
Fred
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden