Java chat project
Screenshots
Quick Start
[Method A] Maven
- Build the project:
mvn clean package
- Start the server:
mvn exec:java
(NOTE:9567
is the default port) - Launch the client GUI:
mvn jfx:run
[Method B] Basic
- Server CLI: run
server.Main
- Client GUI: run
client.Main
(NOTE:9567
is the default port)
Protocol
Documentation at doc/protocol.md.
Client -> Server Server -> Client
---------------- ----------------
JOIN <user_name> J_OK
J_ER <err_code>: <err_msg>
DATA <user_name>: <text> DATA <user_name>: <text>
IMAV LIST <user_name1 user_name2 ...>
QUIT
License
This project is MIT licensed. Please see the LICENSE file for more information.