• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa and Sockets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Cocoa and Sockets
      • From: Sherm Pendley <email@hidden>
References: 
 >Re: Cocoa and Sockets (From: Philip Mötteli <email@hidden>)

  • Prev by Date: Using icns for toolbar icons?
  • Next by Date: Re: C question for you old guys ;-)
  • Previous by thread: Re: Cocoa and Sockets
  • Next by thread: Re: Cocoa and Sockets
  • Index(es):
    • Date
    • Thread