Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rozek1997/air-bridge-client
Application allowing to send any files via websocket to server using textmode.
https://github.com/rozek1997/air-bridge-client
java-client java-networking java-socket-programming maven web-socket
Last synced: about 19 hours ago
JSON representation
Application allowing to send any files via websocket to server using textmode.
- Host: GitHub
- URL: https://github.com/rozek1997/air-bridge-client
- Owner: rozek1997
- Created: 2019-04-28T23:47:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-16T09:27:00.000Z (about 2 years ago)
- Last Synced: 2023-03-06T12:21:29.926Z (over 1 year ago)
- Topics: java-client, java-networking, java-socket-programming, maven, web-socket
- Language: Java
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AirBridge client
This project consist of two repos
Another repo of server written in is available at
[AirBridge server](https://github.com/rozek1997/air-bridge-server)## Project aim
Project aim was to make client - server model using two programming languages.
## Short description
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"### Compliling application
In folder where pom.xml is included
`$ mvn clean install`
## Running applicationYou 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]`