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!