site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On a related note I wish it was possible to to create CFReadStream directly from file descriptor or FILE * stream (Cocoa NSFileHandle can initWithFileDescriptor) S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware At 18:46 -0800 29/11/06, Tomasz Kukielka wrote: Technically CFStream only supports (and is tested with) TCP socket descriptors [1]. With that constraint, you can create one from a TCP socket descriptor using CFStreamCreatePairWithSocket. CFStream is known to work reasonable well with other types of sockets, but it's not officially support. [1] I'm talking about the socket flavour of CFStream. Other flavours of CFStream support other things (files, memory, and so on), but there's no generic "file descriptor" flavour. The socket CFStream is the closest you get. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Quinn