multiple file sending over WAN using winsock(vb6)
<vbcode>
I have one vb app to send five files at a time to server. For that I use timer control to send packet of 1kb at a time up to end of list. But in WAN only three files were successfully send to server (but in LAN I got expected output).
What is wrong? What to do?
Increase time interval between packet sending or reduce packet size or any other way.
Thanks lot in adv..
<vbcode>
Re: multiple file sending over WAN using winsock(vb6)
Do you get any kind of status or errors on the two files that didn't make it?
Re: multiple file sending over WAN using winsock(vb6)
Winsock doesn't fire any error. But as per my logic app prompt msg five files successfully send to server
Re: multiple file sending over WAN using winsock(vb6)
If you retry to send the files that didn't make it the first time, do they make it over the second time?
Re: multiple file sending over WAN using winsock(vb6)
I think the problem is because you are not waiting for the data to transfer complectly before you send the next packet.
Use the code I posted in this thread: http://www.vbforums.com/showthread.php?t=331990