• 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
Re: Transferring large files using DO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Transferring large files using DO (From: Jeff LaMarche <email@hidden>)

  • Prev by Date: Re: Notifications or singletons?
  • Next by Date: New to ObjC/Cocoa - looking to get data from OS
  • Previous by thread: Transferring large files using DO
  • Next by thread: Re: Transferring large files using DO
  • Index(es):
    • Date
    • Thread