Simple tcp server that accepts connections and resend any incoming messages to all connected clients. sync.Map is used to store connections. Further implementation details in the article - https://golangforall.com/en/post/golang-tcp-server-chat/.
Simple tcp server that accepts connections and resend any incoming messages to all connected clients. sync.Map is used to store connections. Further implementation details in the article - https://golangforall.com/en/post/golang-tcp-server-chat/.