ممكين المساعده في حل اسئله
Task 1:
Write a console application in C++ that meets the following:
The configuration is done from INI file.
The application can behave as a server or a client (configured in the INI configuration file).
If the application is server:
Wait for socket connection from a client through certain port (configured in the INI configuration file).
When connection is made, read a certain text file (configured in the INI configuration file), and convert it to UPPER CASE, then send it line by line to the client.

If the application is client:
Upon running, read the IP and port of the server to connect to (configured in the INI configuration file).
When the connection is made, start to receive the data from the server, and log it into a local file.

Testing:
The application must run on two machines that are networked together (can ping each other).
On the first machine, the application will be run in server configuration.
On the other machine, the application will run in client configuration.
The filename to be sent to the client will be configured in the INI file.
Upon running the client, the connection must be established; the file must be converted to UPPER CASE and sent line by line, and sent to the client.
After finishing the transmission, the connection must end, and the client will terminate.
The server must keep running, and accept new connections.
Please send the entire solution, including the design and configuration files (INI files for both server and client).

Task 2:
Write either a batch script for windows or shell script for Unix to backup files in a certain folder.
The script must get all files from one folder, add a header for the file name in the format: YYYY_MM_DD_HH24_mi_SS_ORIGINAL_FILE_NAME, and then copy it into another predetermined folder. Original files should be deleted once they are copied in to the backup folder.
Please send the script in text format.
Please note that you can use all the resources you need, and it is a plus if you mention from where you got the needed knowledge.
The answers should be submitted within one week from receiving this task.