btford / angular-socket-io

Socket.IO component for AngularJS
1.51k stars 233 forks source link

Recognize by the server but can't emit #128

Closed m-frachet closed 8 years ago

m-frachet commented 8 years ago

I m having a problem when trying to emit to my socket.io server using the v0.7.

I see a new socket connected, so the handshake seems to work.

Now I m using this client code :

function amqpSocketChatController($scope,socket){
    socket.emit('joinQueue',{queueName:'client1'}); 
});

But it doesn't send the item to the socket io nodejs server.

Related issue on stackoverflow : http://stackoverflow.com/questions/33689201/angularjs-socket-io