• 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: NSStream, NSInputStream, NSOutputStream
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSStream, NSInputStream, NSOutputStream


  • Subject: Re: NSStream, NSInputStream, NSOutputStream
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 18 May 2008 23:45:33 -0700


On 18 May '08, at 9:19 PM, John MacMullin wrote:

I think that all one needs to do is to write one byte in the "external" function, then handle the rest of the writes through the delegate NSStreamEventHasSpaceAvailable event.

You don't even need to do the one byte externally. Your delegate will be told there's space available as soon as the socket's opened.


—Jens

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

_______________________________________________

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: 
 >NSStream, NSInputStream, NSOutputStream (From: John MacMullin <email@hidden>)
 >Re: NSStream, NSInputStream, NSOutputStream (From: Jens Alfke <email@hidden>)
 >Re: NSStream, NSInputStream, NSOutputStream (From: John MacMullin <email@hidden>)

  • Prev by Date: Re: Is there an NSCollectionView selection change notification?
  • Next by Date: Re: Is there an NSCollectionView selection change notification?
  • Previous by thread: Re: NSStream, NSInputStream, NSOutputStream
  • Next by thread: Re: NSStream, NSInputStream, NSOutputStream
  • Index(es):
    • Date
    • Thread