10-07-2008, 11:15 AM
I updated my 'Sharing files...'. Now sends files in parts and shows progress.
Sharing files and text between computers
When working with it, found net bug: If sent data begins with 0 byte, the recipient function received empty data. To avoid it add some character or string to the beginning. Now it is done in my code.
If your connection is slow, make smaller initial sizepart in CNetworkShare.SendFiles. Now it is optimized for 100 Mbs network connections.
It does not show progress on recipient computer but it can be added. In NS_ReceiveFiles, pc is % (0-100) when receiving data...
Sharing files and text between computers
When working with it, found net bug: If sent data begins with 0 byte, the recipient function received empty data. To avoid it add some character or string to the beginning. Now it is done in my code.
If your connection is slow, make smaller initial sizepart in CNetworkShare.SendFiles. Now it is optimized for 100 Mbs network connections.
It does not show progress on recipient computer but it can be added. In NS_ReceiveFiles, pc is % (0-100) when receiving data...