From: Tony Arcieri> > A STUN implementation will be an important part of DistribuStream > in terms of firewall traversal. However, first I need to move the > whole protocol to UDP, and before I do that I''m trying to make it > work better in general. > > I''m also unsure what to use for a UDP data transfer protocol. I > need something to work in conjunction with segmented downloads > verified by a hash, and RTP doesn''t exactly seem well suited to > that task.Just to clarify - I''m not sure what segmented downloads means here. I''m guessing not network-level segments, but dividing a large download up into chunks, (where each chunk may be verified by a hash), and streaming each chunk? What do you think about TCP over UDP? It looks to me like the TCP portion of the LWIP stack should be fairly easy to extract. ( http://savannah.nongnu.org/projects/lwip/ )> I''d certainly be willing to help with an implementation on top of > EventMachine.Likewise.....! Regards, Bill
Tony Arcieri
2007-Nov-20 10:50 UTC
[Eventmachine-talk] P2P: Avoiding manual port-forwarding
On Nov 20, 2007 11:24 AM, Bill Kelly <billk at cts.com> wrote:> Just to clarify - I''m not sure what segmented downloads means here. > I''m guessing not network-level segments, but dividing a large > download up into chunks, (where each chunk may be verified by a > hash), and streaming each chunk? >Yep. More info here: http://en.wikipedia.org/wiki/Segmented_downloading What do you think about TCP over UDP? It looks to me like the> TCP portion of the LWIP stack should be fairly easy to extract. > ( http://savannah.nongnu.org/projects/lwip/ ) >What I''d really like to try is using erasure codes to provide forward error correction. If I can''t get something like that to work (which may need ARQ anyway) I''ll probably end up doing some sort of userland TCP over UDP thing. -- Tony Arcieri ClickCaster, Inc. tony at clickcaster.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20071120/85afa1f6/attachment.html