4
I have a question regarding the socket.io that I have already researched in several places and most of a rolled up or uses some obscure terms, but ends up not answering the doubt directly.
The question is whether it works as follows: at the time of the server to send a message to the user it by chance registers the "address" of the user in some way and then sends the direct communication to this address without the user need to make any request (ajax or direct)? And my server can have multiple "logged" users each receiving messages only from another specific user?
At the moment I’m not only seeing the working to convert a chat system I have with x checks in x seconds in ajax to these socket schemes. I will search more and I will post other questions thank you.
– Alan Rezende
This greatly reduces the bandwidth consumption and server processing when to the format I commented above?
– Alan Rezende
Yes, a lot, mainly because you don’t have to open thousands of http connections just to check for new message
– William Okano