This project consist of two repos Another repo of server written in is available at AirBridge server
Project aim was to make client - server model using two programming languages.
For this purpose two application, client and server, in Java and C respectively have been written and connected via websocket.
Client is build in java. When you want to send file to server, first of all you need to write very simple property file with few attributes
- hostname="ip adress of server"
- port="port on which we connecting to server"
- id="name of our client"
In folder where pom.xml is included
$ mvn clean install
You need to provide 2 arguments:
- -pf --property "absolute path to property file which you wrote earlier"
- -i --input "absolute path to file we want to send to the server"
Whole command:
cd target
$ java -jar client-java-1.0-jar-with-dependencies.jar -pf [path/to/property/file] -i [filepath/to/file]