• 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: Socket in cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Socket in cocoa


  • Subject: Re: Socket in cocoa
  • From: Finlay Dobbie <email@hidden>
  • Date: Mon, 2 Sep 2002 13:06:28 +0100

On Monday, September 2, 2002, at 02:56 am, Chris Parker wrote:

2) You can create a BSD socket in straight C (there are numerous examples on the web) and wrap it with an NSFileHandle (this is actually done in the Picture Sharing example in the 10.2 /Developer/Examples/Foundation directory).

3) You can use CFNetwork - which is a CoreFoundation networking layer and provides things like SSL support, etc. In the long run, this is probably the way to go.

<snip>

3) involves more code than 2) but gives you a lot more control over what's happening.

I think you mean that 2 involves more code than 3. Also note that CFNetwork is probably easier to interface with your runloop.

-- Finlay
_______________________________________________
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.

References: 
 >Re: Socket in cocoa (From: Chris Parker <email@hidden>)

  • Prev by Date: Re: Tips for Navigating the Cocoa Documentation?
  • Next by Date: cannot convert `_objc_class*' to `objc_object*' in argument passing
  • Previous by thread: Re: Socket in cocoa
  • Next by thread: Re: Socket in cocoa
  • Index(es):
    • Date
    • Thread