It is required to create a client/server software able to send to a remote host a .zip file as parameter. Its syntax should be the following one: zipsend <file_name> <host_name> where host_name indicates the name ( or IP address ) to which you want to send the zip file indicated in file_name.
The client software must verify that <file_name> actually is a zip file.
In case it's a generic file or directory, the software must run the 'zip' command (via concurrent process) with the right parameters needed to zip the given file ( or directory) and then send it.
The software must be realized in C/C++ (standard ANSI), UNIX (or Linux) enviroment.
The code must be properly indented and commented as well.
I need Input/Output examples for the software and a brief user guide just for the main commands such as "how to compile", "how to install" etc.
It's really important to use concurrent programming methods such as traffic lights, fork, shared memory, socket etc.