Skip to content
chrismcfeePublic

About

golang chat server PoC

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

38 Commits

Folders and files

Repository files navigation

tcppoc

for peerstream interview assignment

go tcp chat server PoC

TCP server application performing as a chat server. Clients should be able to connect to the listening port using plaintext protocol and be able to communicate with each other. Messages are separated by , when connected user should be presented with a list of users currently online, everyone see messages from everyone, server should support /nick command for users to be able to redefine the default auto-assigned nickname "GuestNNN" and /register command for users to be able to protect their nickname from being taken by other user with a password.

Instructions to build and run:

  • go build main.go
  • ./main

on machine to connect:

telnet [ip or localhost] 9009

commands:

/nick to change nick

/login password to login with your password

/register password to register username with password

About

golang chat server PoC

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages