Answer the question
In order to leave comments, you need to log in
Why doesn't socket.io display messages?
Hello!
According to the documentation, I tried to write a chat on sockets, but I ran into a problem that a message sent from another tab is not displayed on the previous one, although it should, sort of. Why is that, and how to fix it?
Client side: https://pastebin.com/u3pPRqU0
Server side: https://pastebin.com/8WTC1PS1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question