Fortune Server + JavaScript Client



  • Hi,
    im trying to connect to the Fortune Server via a Html/Javascript Page. I start the Fortune Server and try to connect with this page:
    http://jsfiddle.net/gr0bhrqr/

    Of cours I changed before this line of code:
    websocket = new WebSocket("ws://yourDomainNameHere.org/");
    to
    websocket = new WebSocket("ws://192.168.2.154:50745/");

    All I get is a error with error Code 1006. Why?

    If I use the same values with the Fortune Client everything works finde.

    Regards,
    Stephan



  • maybe Websocket is not implemented in QML Javascript?!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.