https://github.com/ayoubcoding21/javachat
A simple cross-device console chat app using Java.
https://github.com/ayoubcoding21/javachat
Last synced: 11 months ago
JSON representation
A simple cross-device console chat app using Java.
- Host: GitHub
- URL: https://github.com/ayoubcoding21/javachat
- Owner: AyoubCoding21
- License: bsl-1.0
- Created: 2022-12-18T14:21:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-08T13:22:11.000Z (almost 3 years ago)
- Last Synced: 2025-02-25T21:45:22.247Z (over 1 year ago)
- Language: Java
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JavaChat
A simple cross-device console chat app using Java.
The console could connect multiple of clients and send messages between them.
# WARNING :
You need to know the IP of the server so you can execute the client.
And you must install java on your machine.
To execute the server : ```chmod u+x ./server.sh && ./server.sh```
To execute the client : ```chmod u+x ./client.sh && ./client.sh```
# How to use in cross-device
You can divide this code into the client part and server part, but you need to know the server's IP.
The client should be executed after the server.
The client code is in a device, and the server one in another device.