• 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: Scalable, 10.2 compatible socket usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scalable, 10.2 compatible socket usage


  • Subject: Re: Scalable, 10.2 compatible socket usage
  • From: Sherm Pendley <email@hidden>
  • Date: Wed, 28 Sep 2005 20:10:06 -0400

On Sep 28, 2005, at 7:15 PM, Andrew Bush wrote:

Im attempting to write a command line application that is compatible with 10.2, and can makeoutward tcp connections to various servers...there will likely be upwards of 100 or so 'simultaneous' connections to 100 or so different servers, the connections will often be transferring a fair bit of data back and forward in a non-standard protocol.

whats the best connection method to use? I was originally looking at NSInputStream, but it turns out thats 10.3+ only....<g> and there is certainly a bunch of options to choose from....

so any recommendations as to the most appropriate set of classes to use?

You can use the socket() function to create a socket-based file descriptor, and pass that to NSFileHandle's -initWithFileDescriptor:


sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

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


References: 
 >Scalable, 10.2 compatible socket usage (From: Andrew Bush <email@hidden>)

  • Prev by Date: Re: NEWBIE - production version - built but won't run
  • Next by Date: Bindings, User Defaults and the UI
  • Previous by thread: Scalable, 10.2 compatible socket usage
  • Next by thread: NEWBIE - production version - built but won't run
  • Index(es):
    • Date
    • Thread