I downloaded the library as3-websocket-server ( http://ift.tt/2if9wj5 ) for a desktop air app and it works fine on Chrome. When I use Firefox it is ok for http pages, while I get a "SecurityError: The operation is insecure." message if I test it on https pages.
I read that I should use wss:// rather than ws://, but the AIR server doesn't work with this protocol.
I tried to convert all "Socket" to "SecureSocket" in the Air App but I get an error: "1118: Implicit coercion of a value with static type flash.net:Socket to a possibly unrelated type flash.net:SecureSocket";
Any idea on how to have the server available for both protocols? On client side I could just check if I'm on http or https and call the right websocket.