• 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
Flushing NSOutputStream gotten from NSNetService
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Flushing NSOutputStream gotten from NSNetService


  • Subject: Flushing NSOutputStream gotten from NSNetService
  • From: Alexander Spohr <email@hidden>
  • Date: Fri, 2 Jul 2010 14:36:57 +0200

Hi List,

i it possible to flush an NSOutputStream?

I have some streams gotten from NSNetServices getInputStream:outputStream:. I send very small chunks (from 1 to 1000 bytes) of data through them. I would like to flush the stream after I wrote a chunk to get the data immediately sent to the other side.

Is that possible or does the NSOutputStream flush after every write:maxLength: anyway?

Have a nice weekend,

	atze

_______________________________________________

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

  • Follow-Ups:
    • Re: Flushing NSOutputStream gotten from NSNetService
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Download images and modify bundle?
  • Next by Date: Manually set value of a textfield
  • Previous by thread: Re: NSTextView editing top-down and right to left.
  • Next by thread: Re: Flushing NSOutputStream gotten from NSNetService
  • Index(es):
    • Date
    • Thread