Skip to content

A Simple TCP Chat Server implemented using GoLang.

License

Notifications You must be signed in to change notification settings

qascade/ChatServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Simple TCP Chat Server implemented using GoLang.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages