A simple cross-device console chat app using Java.
The console could connect multiple of clients and send messages between them.
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
You can dividide 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.