• 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: Preferred Wrapper for TCP Sockets Over Local Network?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preferred Wrapper for TCP Sockets Over Local Network?


  • Subject: Re: Preferred Wrapper for TCP Sockets Over Local Network?
  • From: Marco Masser <email@hidden>
  • Date: Sat, 16 Aug 2008 22:16:03 +0200

I would like to be able to use an SSL certificate, but, beyond that, my needs aren't exotic. Ease-of-use and reliability would be a big plus. I've also considered a Ruby class that would handle the TCP messaging and pass responses back to the Cocoa-based app. Any suggestions?

Maybe the NSStream class is what you're looking for, especially the NSOutputStream and NSInputStream classes. There's a sample code called Cocoa Echo that shows how to use them. They are really easy to implement and they work with SSL, too (although the Cocoa Echo sample doesn't cover that).
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Preferred Wrapper for TCP Sockets Over Local Network? (From: Brad Gibbs <email@hidden>)

  • Prev by Date: NSUInteger hash
  • Next by Date: Re: NSUInteger hash
  • Previous by thread: Preferred Wrapper for TCP Sockets Over Local Network?
  • Next by thread: Re: Preferred Wrapper for TCP Sockets Over Local Network?
  • Index(es):
    • Date
    • Thread