[jdev] Re: Multiple/parallel file transfers

George Hazan george.hazan at gmail.com
Fri Mar 25 06:03:07 CST 2005

   Hello, Justin!
   Fri, 25 Mar 2005 03:16:28 -0800 you wrote:

>> Should I send them one by one, reestablishing the bytestream every time?
JK> Currently yes, this is the only standard way to do it.


JK> There was a JEP to do "Tree Transfer", but it was not well received,
JK> mainly because it doesn't solve the bytestream reestablishment problem.

Hmm.. in fact there're a lot of transfer schemas where there's no need in a 
bytestream reestablishment. For example, the one used in the MSN P2P 
transfers, when each transfer has its own id, and every packet has a header 
with transfer ID, so any number of transfers can act in parallel on the same 
channel, either direct or via proxy.

So at least in theory there're no difficulties ;)

JK> I created it as an extension and optimized it beyond what we had
JK> originally discussed.  It is documented below as Fast Mode:
JK> http://delta.affinix.com/specs/stream.html
JK> Psi has been using this for over a year now without problems.

Thanks for the link, I'll read it.

JK> The same URL above also describes a Multiplex mode, however it is just
JK> an idea, I've never implemented it nor tried pushing it as a standard

Ok, I can easily implement the multi-send support as a sequence of single 
transfers, no problems. It would be ugly & slow, but much better than 
nothing :)

WMBR, George Hazan (ghazan at postman.ru) 

More information about the JDev mailing list