This site is for P2P development and test software ONLY!

Simple partfile push

In uploadclient.cpp
at the end of
int CUpDownClient::GetFilePrioAsNumber()

if(currequpfile->IsPartFile() &&
thePrefs.GetUpData_File() > (thePrefs.GetUpData_Partfile()*2) &&
thePrefs.GetUpSessionClientData() > thePrefs.GetDownSessionClientData())
filepriority *= 3;
return filepriority;

0 comments:

发表评论