• 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 & UNIX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa & UNIX


  • Subject: Re: Cocoa & UNIX
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 21 Nov 2001 15:01:44 +0100

Johan,

>>>>>> Johan Lindberg (JL) wrote at Wed, 21 Nov 2001 10:08:23 +0100:
JL> How do I, from a Cocoa app, send messages to UNIX programs (such as
JL> mount, ping etc...) and retrieve a result from it? Is it even possible
JL> with Cocoa?

If you consider Cocoa _only_ those NSObject-based things, then it's not.
Though, you can freely use the complete BSD API in Cocoa programs, and in
this sense it is possible and easy.

If you are searching for a NSObject-based wrappers for BSD sockets et al,
the only thing Cocoa contains is NSFileHandle AFAIK. There are some 3rd party
wrappers with more support; check eg. those Omni frameworks.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc


References: 
 >Cocoa & UNIX (From: Johan Lindberg <email@hidden>)

  • Prev by Date: Re: Mutability
  • Next by Date: Re: Clicking dock icon opens window
  • Previous by thread: Re: Cocoa & UNIX
  • Next by thread: Resizing views
  • Index(es):
    • Date
    • Thread