This is a single-threaded chat application that uses sockets for communication.
Build the program to build/
subfolder.
make
server-side:
make server-run #default port is 7070
client-side:
make client-run u=your-name #default address is 127.0.0.1:7070
client commands:
command | Description |
---|---|
create [groupID] | create the group |
join [groupID] | join to the group |
leave [groupID] | leave the group |
send [groupID] [message] | send the message to the group |
quit | close connection and exit from application |