This project is read-only.

Windows phone 8 application with node.js server

Jul 23, 2014 at 12:36 AM
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, 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:
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!