Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSStream and descriptors



I would like to use NSStream as a generic means for a different class to get some data to another class (a streaming parser). Unfortunately, it seems that NSStream cannot be created to work with descriptors or even an NSFileHandle. Is this correct? If NSStream can work with sockets, why shouldn't it work with any file descriptors; for example, an NSInputStream for stdin? Wouldn't it make sense for NSFileHandle to return an NSStream by some means?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.