up
This commit is contained in:
@ -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())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user