• 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: How to POST using CFSocket
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to POST using CFSocket


  • Subject: Re: How to POST using CFSocket
  • From: Chris Hanson <email@hidden>
  • Date: Tue, 11 Nov 2003 18:28:47 -0600

On Nov 8, 2003, at 4:03 AM, ali raza wrote:
My priority is to be able to run
on OS X. I cannot use CFNetwork since these are cocoa
and my application is carbon based.

You're wrong on two counts.

CFNetwork is part of CoreFoundation, not Cocoa. It's a C API that can be called by anything on Mac OS X.

Secondly, just because your application is primarily a Carbon application doesn't mean you can't mix Cocoa into it. You have to be careful how you do it if you're doing human interface development, but for lower-level things like networking it shouldn't be a problem.

That doesn't mean you can use Cocoa directly from within a PEF executable. You can only (easily) call Cocoa from a Mach-O executable. But that Mach-O executable can be a Carbon application.

-- Chris

--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Outsourcing Vendor Evaluation | Phone: +1-847-372-3955
Custom Mac OS X Development | Fax: +1-847-589-3738
http://bdistributed.com/ | Personal Email: email@hidden
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: How to POST using CFSocket (From: ali raza <email@hidden>)

  • Prev by Date: Re: Getting user's email address
  • Next by Date: OT, AppleTalk and Porting to Carbon
  • Previous by thread: Re: How to POST using CFSocket
  • Next by thread: Re: How to POST using CFSocket
  • Index(es):
    • Date
    • Thread