NSStream and descriptors
NSStream and descriptors
- Subject: NSStream and descriptors
- From: Agent M <email@hidden>
- Date: Tue, 27 Jan 2004 23:51:23 +0100
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.