WOResponse setContentStream help needed (variable length data)
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.