[b2g] how to connect with a java ServerSocket

2014-01-19 Thread jose llopis
hi! i'm implementing a server for my messaging app actually i'm using nodejs+socket.io but due issues with cross platform (android,tizen,firefox os) cipher (nodejs cipher, js client cipher and android cipher are not equal and gives me a lot of problems) i am trying to implement a socket serv

Re: [b2g] how to connect with a java ServerSocket

2014-01-19 Thread Andrew Sutherland
The standards-based approach to this would be to use WebSockets over SSL (which is identified by the 'wss' protocol). https://developer.mozilla.org/en/docs/WebSockets provides a good starting point. For messaging applications, for device resource and battery life reasons and because your app