Re: Transferring large files using DO
Re: Transferring large files using DO
- Subject: Re: Transferring large files using DO
- From: email@hidden
- Date: Sun, 06 Apr 2003 21:41:40 -0700 (PDT)
I thought that the child-thread is spawned automatically by by DO framework?
Atleast that is what seems to be indicated when one reads the DO documentation
on the Apple developer site?
Michael Latta wrote:
>
>
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:
>
> <a
href="
http://mail.canada.com/jump/http://www.lists.apple.com/mailman/listinfo/cocoa-dev">
http://www.lists.apple.com/mailman/listinfo/cocoa-dev</a>
>
> Do not post admin requests to the list. They will be ignored.
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives: <a
href="
http://mail.canada.com/jump/http://www.lists.apple.com/mailman/listinfo/cocoa-dev">
http://www.lists.apple.com/mailman/listinfo/cocoa-dev</a>
>
Do not post admin requests to the list. They will be ignored.
__________________________________________________________
Get your FREE personalized e-mail at
http://www.canada.com
_______________________________________________
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.