aMule Forum
English => en_Bugs => Topic started by: netbsd8 on January 19, 2010, 06:49:04 PM
-
Hello,
I record the SessionReceivedBytes into a file when calling amule->OnFinishedCompletion():
========================
FILE* stream;
stream = fopen("rates.txt","w");
fprintf(stream,"%s:%llu Bytes\n","SessionReceiveBytes",theStats::GetSessionReceivedBytes());
fprintf(stream,"%s:%llu Bytes\n","SessionSentBytes",theStats::GetSessionSentBytes());
fprintf(stream,"%s:%llu Seconds\n","Uptime",theStats::GetUptimeSeconds());
fclose(stream);
=========================
however, when I download a file whose size is 3141365 bytes, the GetSessionReceivedBytes() function only returns 2639658 bytes.
Is something missed?
Thanks in advance!
-
compression
-
Download again, and get 2920991 bytes this time.
Does the difference of two tests come from the communication messages?
Thanks.
compression
-
Or a different amount of compression.