Re: Cocoa and Sockets
Re: Cocoa and Sockets
- Subject: Re: Cocoa and Sockets
- From: Jeff Harrell <email@hidden>
- Date: Mon, 9 Jun 2003 12:43:43 -0500
Maybe I'm just mister ignorant guy, but I was under the impression that
NSFileHandle took a filesystem path (as opposed to a generic URL) as
its establishing argument. In other words, I thought NSFileHandle was
only suitable for doing I/O with objects that exist on the filesystem:
files, devices, named pipes, and thus and so.
Am I completely wrong?
On Monday, June 9, 2003, at 07:18 AM, Philip Mvtteli wrote:
Am Montag, 09.06.03, um 14:02 Uhr (Europe/Zurich) schrieb Adam:
I'm new on this list, but I drink Cocoa regurally. ;)
Here come serious questions. I would like to add BSD
socket to my Cocoa application, so:
1. What kind of API should I use / you recommend:
a) NSSocketPort
b) CoreFoundation
c) UNIX/BSD
2. How can I receive events from sockets? Means, how
the application can be interrupted when data arrives
to the socket? Can I method be invoked, as an Action?
Have a look at NSFileHandle.
Re
Phil
_______________________________________________
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.
_______________________________________________
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.