Two-Way TCP/IP File Transfer via Winsock


Version Compatibility: Visual Basic 5

More information:
This package contains two .exes, a client and a server that make use of re-usable .bas modules that allow you to transfer files via TCP/IP. You can transfer files from client to server or vice versa. For demo purposes, as written, the client and server must reside on the same machine, but you can easily modify the code for use across the network.

There are two .zip files in the package, each with its own project. To see how they work, open each project in a separate instance of VB.

A basic understanding how to use the winsock control is necessary to modify this code, but not to use it as written. Moreover, since the code is well-commented, you probably can learn about winsock from the code itself.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.