|
-
Jul 5th, 2005, 05:35 AM
#1
Thread Starter
New Member
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>
Sandip
-
Jul 5th, 2005, 08:06 AM
#2
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?
-
Jul 10th, 2005, 11:28 PM
#3
Thread Starter
New Member
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
Sandip
-
Jul 11th, 2005, 06:25 AM
#4
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?
-
Jul 11th, 2005, 11:56 AM
#5
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|