• 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
WOResponse setContentStream help needed (variable length data)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOResponse setContentStream help needed (variable length data)


  • Subject: WOResponse setContentStream help needed (variable length data)
  • From: Helmut Tschemernjak <email@hidden>
  • Date: Mon, 14 Jul 2003 22:26:47 +0200

Hello,

I reading variable length data from a socket and forward it into the response without knowing how many bytes will come.

I tested the setContentStream, but it requires the size of the stream which is unknown to me.

At present I read in data completely into an byte array and use setContent(new NSData(b)) which means the data will be copied again an NSData object.

Is there any chance to stream a response without knowing the length?
Is there a way get the socket connection to send the response directly?


PS: I talking about several hundred megabytes of data.


best regards / mit freundlichen Gruessen,

Helmut Tschemernjak


HELIOS Software GmbH Steinriede 3 30827 Garbsen Phone: +49-5131-709320 Fax: +49-5131-709325 Internet Mail: email@hidden Internet Web: http://www.helios.de _______________________________________________ webobjects-dev mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev Do not post admin requests to the list. They will be ignored.

  • Prev by Date: RE: Pop-up menus in Nib Files
  • Next by Date: Re: why does selecting a parent not make me it's child?
  • Previous by thread: Tuning Web Objects
  • Next by thread: Re: Digitised Submission
  • Index(es):
    • Date
    • Thread