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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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;) )
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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;) )