PlausiblyDamp
Administrator
A simple example of how you can use classes under System.IO, System.Net and System.Threading to implement a client server file transfer application.
The server will allow you to configure the port it listens on and where received files are saved. It listens for incomming connections on a dedicated thread and will spawn 1 thread per incomming request.
The client allows you to specify the servers IP and port and also select the file to transfer.
Probably needs a lot more testing than it's received but can happily transfer 3 80M+ mpegs at the same time.
Thank's also go to dynamic_sysop as I've stolen code from his sample found here
The server will allow you to configure the port it listens on and where received files are saved. It listens for incomming connections on a dedicated thread and will spawn 1 thread per incomming request.
The client allows you to specify the servers IP and port and also select the file to transfer.
Probably needs a lot more testing than it's received but can happily transfer 3 80M+ mpegs at the same time.
Thank's also go to dynamic_sysop as I've stolen code from his sample found here