I was playing around with the following
Code: Select all
If OpenWebSocket(2, "ws://127.0.0.1:8090" )
Debug "Trying to open the websocket"
Else
Debug "Web socket not supported."
;Wait 5 seconds then try OpenWebSocket() again
EndIf
Code: Select all
If OpenWebSocket(2, "ws://127.0.0.1:8090" )
Debug "Trying to open the websocket"
Else
Debug "Web socket not supported."
;Wait 5 seconds then try OpenWebSocket() again
EndIf