fash866 Member Licensed User Longtime User Aug 1, 2015 #1 when i use websocket , the code is: B4X: dim websock as websocket websock.Initialize("websock") websock.Connect("WS://xxx") But it's throw a error : java.lang.RuntimeException: java.lang.Exception: Sub websock_closed signature does not match expected signature.
when i use websocket , the code is: B4X: dim websock as websocket websock.Initialize("websock") websock.Connect("WS://xxx") But it's throw a error : java.lang.RuntimeException: java.lang.Exception: Sub websock_closed signature does not match expected signature.
Erel B4X founder Staff member Licensed User Longtime User Aug 2, 2015 #2 Note that the scheme should be ws:// not WS://. Can you post the websock_closed sub? Upvote 0
fash866 Member Licensed User Longtime User Aug 2, 2015 #3 Erel said: Note that the scheme should be ws:// not WS://. Can you post the websock_closed sub? Click to expand... yes,i am not post the close event. i added it ,and is now ok. thanks! Upvote 0
Erel said: Note that the scheme should be ws:// not WS://. Can you post the websock_closed sub? Click to expand... yes,i am not post the close event. i added it ,and is now ok. thanks!