Coder. Cat Dad. Car Nut.
I’m a software developer focused on mastering my craft one language at a time. The projects in this portfolio are some of my favorite works.
This project is divided into a client and server that communicate over a network using a UDP connection to transfer text files from the client to the server. Text files have the transfer time and date appended to the name of the file.
To compile and run this project, make sure that you use two separate terminals when operating on the same device, and that there is a .txt file on the device running the Client program.
g++ Client.cpp -o Client;
./Client;
g++ Server.cpp -o Server;
./Server;
Begin by launching the Server, providing a port to communicate through (see Fig 1). Then launch the Client, providing the Server port and IP address, followed by the .txt file that you wish to transfer (see Fig 2). Afterwards, note that a new .txt file is located in the same directory as the Server with the same contents as the text file from the Client, as well as a new title including the date and time transferred (see Fig 3 and 4).
Fig 1. Server initialization.
Fig 2. Client setup.
Fig 3. Directory before transfer.
Fig 3. Directory after transfer.