Sails.js To Client Using Sails.sockets.join And Sails.sockets.broadcast Doesn't Return Info To The Client
I'm attempting to create a one to one chat using Sails.js and sails.io.js on the client side. I can get the io.socket.get and io.socket.post to work, but I haven't been able to rec
Solution 1:
(That was me. I thought my comment might of been not worthwhile because i reread your post and you said you had the get working so I thought I was wrong. My comment was something to the effect below, but I don't remember verbatim)
Have you checked to make sure the you are actually getting a response on the client-side listen? What log statements are you actually getting throughout your code? Put a console.log('get user listen') or something inside of the Client-side socket.get.
Post a Comment for "Sails.js To Client Using Sails.sockets.join And Sails.sockets.broadcast Doesn't Return Info To The Client"