Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1016 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 1016 Bytes

A simple Chat Server in go.

This is a simple TCP chat server, that I implemented in golang.

To connect to the server use: telnet localhost 8888

It would follow the following commands.

  • /username <name>: get a name or stay anonymous.
  • /join <group name>: Join existing room or create a new room if it doesn't exist. For now, a user is allowed to use one room at a time.
  • /groups : show the list of groups that are currently active in the server.
  • /msg <msg> : to broadcast a message to everyone in the room.
  • /quit : to quit out of the chat server.

Demo

Server Image

Server

Client 1

Client1

Client 2

Client2