Results 1 to 5 of 5

Thread: multiple file sending over WAN using winsock(vb6)

  1. #1

    Thread Starter
    New Member sandip's Avatar
    Join Date
    Jun 2005
    Location
    Navi Mumbai,India
    Posts
    15

    Question 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

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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?

  3. #3

    Thread Starter
    New Member sandip's Avatar
    Join Date
    Jun 2005
    Location
    Navi Mumbai,India
    Posts
    15

    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

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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?

  5. #5
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    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
  •  



Click Here to Expand Forum to Full Width