This commit is contained in:
2024-11-13 09:19:43 +07:00
parent 10f936838f
commit e99a0a921d
7 changed files with 127 additions and 17 deletions

View File

@ -123,7 +123,7 @@ func (s *TCPServer) broadcastMessage(message string) {
for client := range s.Clients {
_, err := client.Write([]byte(message))
if err != nil {
fmt.Println("error while sending message to clients:", client.RemoteAddr())
fmt.Println("Error while sending message to clients:", client.RemoteAddr())
}
}
}