Android Question what is the diffrent with websocket and websocketHandler

Discussion in 'Android Questions' started by fash866, Aug 1, 2015.

  1. fash866

    fash866 Member Licensed User

    when i use websocket , the code is:
    Code:
    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.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Note that the scheme should be ws:// not WS://.

    Can you post the websock_closed sub?
     
  3. fash866

    fash866 Member Licensed User

    yes,i am not post the close event. i added it ,and is now ok. thanks!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice