Re: NSSocketPort == BSD Socket
Re: NSSocketPort == BSD Socket
- Subject: Re: NSSocketPort == BSD Socket
- From: "Michael Ash" <email@hidden>
- Date: Thu, 4 Dec 2008 22:10:16 -0500
On Thu, Dec 4, 2008 at 7:52 PM, Kirk Kerekes <email@hidden> wrote:
> -[NSSocketPort socket] returns a file descriptor. Write to it.
>
> Init an NSFileHandle with it. (-[NSFileHandle initWithFileDescriptor:])
>
>
> It's all just sockets/files/descriptors.
Well, you're not using NSSocketPort to talk to the other app in that
case. You're using NSSocketPort to create the socket, and then you're
using a completely different API to actually communicate over it.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden