Simple C implementation of chat room using TCP/IP sockets (IPv4 and IPv6).
For client you can use telnet, netcat or other similar tool.
$ git clone [email protected]:dragonator/chat-room.git
$ cd chat-room
$ make
$ ./chat_room
Using telnet: $ telnet ...
Using netcat: $ netcat ...
The following commands are available:
Command | Description |
---|---|
.name | Pick nickname. Nicknames can contain only letters, numbers and underscope. |
.msg | Send message to other user. |
.msg_all | Send message to all users. |
.list | Show list of users in the room. |
.quit | Leave the chat room. |