Sign in to follow this  
Followers 0
braindancer

segments/chunks, get/adcget what's the difference?

4 posts in this topic

according to http://www.dslreports.com/faq/dc ,

valknut is the only client supporting $chunk.

some digging found me this description:

If you see $Supports CHUNK. You may use an extended $Get command

$Get filename$start-position$chunk-size

Currently supported by DCGUI.u

obviously valknut inherited the feature.

my log shows that apexdc requests files via adcget,

so where is the difference between get and adcget?

also, what is the difference between chunks and segments?

both seem to have to do with multi-user download / swarmload

and lastly, while searching the forums for info regarding this topic,

i came across an image of a settings window which had the category

'segments' in the advanced section, my client doesnt show that. is it a mod?

where do i get it?

Share this post


Link to post
Share on other sites

In the past, there as the only command to download some file. It was $Get command and the only possibility was "download file X from position Y" and that's all.

That's why DCGUI implemented improved $Get command which is able to "download Z bytes of file X from position Y", but this command works only if it's implemented also in remote client - that's identified with CHUNK in $Supports.

Later, DC++ implemented $ADCGET command which is able to "download Z bytes of file X from position Y" (same as extended $Get in DCGUI) but is able to do more things (like downloading TTH tree etc.) and is extendable.

Currently, both ways of $Get command are obsolete and it is recommended to use $ADCGET command which is much better.

Share this post


Link to post
Share on other sites

thanks for the answers so far.

now i still would like to now

- where do i get that 'segements' category in the options i described above (too bad i didnt save the image...)

i would really like to set options like chunk size and the like.

- how is it that when a valknut downloads from me, i see both the [C] and [Z] tags,

but if i download from them, i see neither?

Share this post


Link to post
Share on other sites

you can't set chunk size

I think that valknut can use $ADCGET to download by chunks (that's why you see [C]) but it's not able to upload by this way, so we must use non-chunked way of downloading from Valknut.

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0