Windows phone 8 application with node.js server

Jul 22, 2014 at 11:36 PM
Hi there,

I'm trying to use WebSocket4Net in my app and I'm able to connect, handshake and even receive messages from my server using node.js and socket.io, but i can't send any messages. I use the method _webSocket.Send("anything") , but nothing seems to happen, no errors, no log and nothing on my server too. On the server side, I respond with something like this:
socket.on('message',function(data){
console.log('message'+ data);
socket.emit('update','SERVER','this is a server message','arg3','arg4','arg5','argN');
});
It works fine for android and ios. I don't know if I'm doing something wrong. Any help would be appreciated. I saw there is a JsonWebSocket, but I can't find a sample usage. Don't know if it would fit better for my purposes.

Thanks in advance!