> You are advertising to use OnStatus event to monitor download/upload
> progress. This event has a big issue with slow and busy networks where
> packets must be resend. I believe that what it's reported is total
> data sent together with any overhead TCP protocol might generate.
> 
> Because that's the only way my total progress bar on busy networks
> reaches 100% way ahead before all messages are downloaded.
> 
> So how to get the data transfered - protocol overhead - re-send size.

OnStatus reporting how many bytes are sended by Send operation. If 
underlaying network protocol re-send some packet, i not know it no 
winsock level.

There is different problem. Send operation copy data into internal 
winsock buffers, so, ended Send operation not meaning "all datas was 
sended to wire"!

In your case, you have all data sended by application (I am reporting 
it to you and you display 100%), but network stack on your computer 
have it in their internal buffers, because all data was not sended 
yet. But this is out of my control.

You can set smaller chunk for sending in synapse, then progressbars 
working better, however it decrease performance.


-- 
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to