Results 1 to 40 of 86

Thread: VB - How to send a file using the Winsock control

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    VB - How to send a file using the Winsock control

    I made 2 projects: ClientSend and ServerReceive

    You can send files of ANY size with this (well actually any file less than 2GB).

    First start the Server program, click on the "Start Listening for Connections" button.
    Then start the client, choose a file you want to transfer, then click on "Send File"

    The server supports multiple connections, so you can open more than one Client application and transfer more than one file.
    Both of them show the progress of the transfer.
    The server saves the files in its App.Path directory.

    I tried to make it as simple as possible, and I did not put any comments.
    I have a few comments, but that's because I copied and pasted some code from my other applications.

    Anyways... enjoy... and I hope you learn something from it.
    Attached Files Attached Files
    Last edited by CVMichael; Dec 21st, 2005 at 01:34 PM. Reason: Some spelling mistakes

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