• 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: Getting started communicating with AFP -- on the right track?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting started communicating with AFP -- on the right track?


  • Subject: Re: Getting started communicating with AFP -- on the right track?
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 6 Jul 2009 21:27:06 -0700


On Jul 6, 2009, at 9:02 AM, Jesse Armand wrote:

I found NSConnection as a higher level API for this.

Actually, NSConnection is only for use with Distributed Objects, not for general networking. :(

Foundation unfortunately doesn't have any good high-level API for TCP connections. You end up having to use a mixture of NSStream and NSSocket, with some CFNetwork and POSIX calls to glue stuff together. Kind of messy. (See Apple's "CocoaEcho" sample code for an example of this.) I wrote a library called MYNetwork that provides such an API.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Getting started communicating with AFP -- on the right track?
      • From: Jerry Krinock <email@hidden>
References: 
 >Getting started communicating with AFP -- on the right track? (From: Jerry Krinock <email@hidden>)
 >Re: Getting started communicating with AFP -- on the right track? (From: Jerry Krinock <email@hidden>)
 >Re: Getting started communicating with AFP -- on the right track? (From: Eli Bach <email@hidden>)
 >Re: Getting started communicating with AFP -- on the right track? (From: Jerry Krinock <email@hidden>)
 >Re: Getting started communicating with AFP -- on the right track? (From: Jesse Armand <email@hidden>)
 >Re: Getting started communicating with AFP -- on the right track? (From: Jens Alfke <email@hidden>)
 >Re: Getting started communicating with AFP -- on the right track? (From: Jesse Armand <email@hidden>)

  • Prev by Date: Re: Getting started communicating with AFP -- on the right track?
  • Next by Date: Re: Getting started communicating with AFP -- on the right track?
  • Previous by thread: Re: Getting started communicating with AFP -- on the right track?
  • Next by thread: Re: Getting started communicating with AFP -- on the right track?
  • Index(es):
    • Date
    • Thread