Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.33 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.33 KB

TCP-File-Transfer

C++ programs to transfer a Text file from server to client using TCP

Basic Instructions

The CPP files were compiled and ran on Ubuntu [WSL].

Direction of file Transfer: Server to Client.
The path of text file to send can be changed in the file_server.cpp on line 37.

NOTE: The char array buffer in file_client.cpp is default to 1KB, you may need to increase the file size as per the larger file's size.

References for function used in the code...

Socket Program basics

File handling

Good luck!