Hello, I have a webview component, in qt, on it I load an html page. In linux it works perfectly ... On windows already the websocket stops and starts and can not start ... Does anyone have any idea how to solve this problem?
Edit: Rescue this topic to see if I can resolve it. In javascript I connect to wss with
var websocket;
function iniciaWebsocket(){
websocket = new WebSocket(url);
websocket.onopen = function(evt) { $("#view_panel").append("aberto"); };
websocket.onclose = function(evt) { $("#view_panel").append("fechado"); iniciaWebsocket(); }; // reinicio
websocket.onmessage = function(evt)
{
//aqui captura a mensagem
}
websocket.onerror = function(evt) {}
}
And that's it ... It's not working and it happens only on windows ... On Linux it works perfectly. Is there really no way to solve it? My software that depends 100% of this will not work on windows just because of this detail?