Re: Transferring large files using DO
Re: Transferring large files using DO
- Subject: Re: Transferring large files using DO
- From: Michael Latta <email@hidden>
- Date: Sun, 6 Apr 2003 19:26:58 -0700
Yes I have transfered large amounts of data over DO with no special
handling required. We transfered several meg images as arguments to a
method. Your performance may vary.
A server process should listen for connections, then spawn a new thread
for each client. Using a single connection can cause the server to
hang if the client dies. My sample code is very old (NeXTStep 3.x
days). I am sure there is something more current.
Michael Latta
On Sunday, April 6, 2003, at 05:59 PM, Jeff LaMarche wrote:
Has anyone worked with transferring large files over DO? Is the best
way to do these transfers using an ack handshake similar to how we did
file transfers in the old days - xmodem stuff - or is it safe to just
pass a large NSData or NSFile object through the proxy?
Any thoughts on this are appreciated.
Also, I had a code sample at one time that I can't find that showed
listening for connections and spawning a new thread to handle the
incoming connection... Does anyone know where I might get some sample
code that shows this?
TIA
Jeff
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.