Results 1 to 3 of 3

Thread: File Transfer question

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Posts
    76

    File Transfer question

    Hey ,

    I'm working in my file transfer ,

    my question is :

    when Server send a packet , must Client replay and say that the packet received to allow the server to send the next packet ? or the Server may send packet after packet without waiting for the client to raply ?

    thnx.

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: File Transfer question

    That depends on the protocol - which you normally don't write, so you normally needn't be concerned.

    What language are you writing in and what method are you using to do the file transfer? Are you using an API? Any controls?
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Posts
    76

    Re: File Transfer question

    I use Winsock ,

    and this is the code I use :

    Code:
    If EOF(x) = False Then
    
        data = Input(3072, x)
        SD "ftransferup}|{data}|{" & data
    
    Else
    
        Close #x
        SD "ftransferup}|{data}|{" & "}eof{"
    
    End If
    thnx Al42

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