Menu

Questions about Huffman/transfers...

Vince
2002-03-01
2002-04-15
  • Vince

    Vince - 2002-03-01

    Hi, I'm writing my own DC client, not for any reason in particular...just a hobby...thing...anyways, I was wondering if there was any source code that shows how to decompress a file using Huffman. I've seen a few snippets around, but they're all written in older versions of Delphi and don't compile, and I'm not sure how to fix them.

    The other question is about how file transfers work. How does the sending connection know which port to connect to handshake/send the file?

    Also, does anyone know where I can get a free packet-tracing program? So I can see what's going on in internet connections?

    Thanks for any input.

     
    • Chris Bendl

      Chris Bendl - 2002-04-15

      just to say something :)

      there is a amateur protocoll specification from a friend of mine at opendcd.sourceforge.net

      it's also a kewl very unstable dcd server for win and linux fully written in  delphi/kylix

      in dcdelphi there are 2 units to DEcompress he3 files. but he3 has a very bad compression ratio and is very slow BUT DC uses it so i have to use it too...

      extracting is very complex and i've translatet with help of some c and java examples a code in delphi. bugyy...
      after 4 days of trying around it worked.
      great :)

      dont ask about compression i will add this later
      (after the leecha version;) )

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.