Re: Kernel log: app uses send/recv on a pipe
Re: Kernel log: app uses send/recv on a pipe
- Subject: Re: Kernel log: app uses send/recv on a pipe
- From: Quinn <email@hidden>
- Date: Fri, 1 Dec 2006 10:49:21 +0000
At 18:46 -0800 29/11/06, Tomasz Kukielka wrote:
On a related note I wish it was possible to to create CFReadStream directly
from file descriptor or FILE * stream (Cocoa NSFileHandle can
initWithFileDescriptor)
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.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
[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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden