B4J Tutorial [server] Automatic Reconnecting WebSocket - Erel    Jan 6, 2016   (12 reactions)   tags: B4J Server Websocket can be temporary broken. Especially when the client is a mobile browser.
Using the Reconnecting-WebSocket...When working with WebSocket handlers the client maintains an online connection. The connection... B4J Question WebApp - Reconnecting websocket thread - still valid? - hatzisn    Nov 14, 2022 Is this thread valid today after the upgrade of the jetty server?
https://www.b4x.com/android/forum/threads/server-automatic-reconnecting-websocket.62054/... B4J Question Reconnect websockets - wl    Apr 27, 2019 .
Implementing this with ping-pong messages and timers really gets messy an not workable (websockets not being cleared, ...)
I know there are reconnect websockets in a webbrowser implementation...Hello,
I'm trying to implement websockets between a B4J client and a B4J server. this goes... B4J Code Snippet [B4X] Websockets Client Connect and Reconnect - aminoacid    Dec 3, 2022   (1 reaction) with the application hanging. Note that ws.SendTextAsync requires jWebSocketsClient v1.12+ library...Based on Erel's MQTT ConnctAndReconnet Sub: - This sub will attenpt to maintain a constant websockets connection. Set working=True and call the sub ONCE in your program: Sub ws_ConnectAndReconnect ws.Initialize("ws") Do While working If ws.Connected Then ws.Close ws.Connect(wsURL) wait for ws_Connected Sleep(5) If ws.Connected Then... B4J Question Automatic Reconnecting WebSocket-Event fires multiple times - prajinpraveen (first post)    Jan 7, 2021   (1 reaction) Thanks, Erel. I understand it now.
I have a few questions about WebSockets, which I will post as separate posts.
All the best for 2021... B4J Question reconnecting websocket - Erel (first post)    Feb 19, 2020 It is possible. The server will probably disconnect the previous connection quite quickly.
If this is an issue for you then you will need to close the old connection yourself from the new WebSocket handler instance. This will require keeping a map of open connections.... B4J Question Automatic Reconnecting WebSocket, with a server down - Erel (first post)    Jan 31, 2019 Download the attached version (1.01) and copy it to the internal libraries folder.
These errors should only be logged in debug mode.... B4J Question Custom WebSocket Based Push Framework Reconnect Issue - iCAB    Apr 2, 2017 that I am trying to resolve is this:
Android app, attempts to reconnect by sending connection request... B4J Question [ Jserver 3 ] Error on ws.eval async function - Waldemar Lima    Dec 24, 2022 hello everyone ! i am trying to call async function using ws.eval() with JServer3 Websocket handler; but show this error : VM1668:3 Uncaught SyntaxError: await is only valid in async functions and the top level bodies of modules at new Function (<anonymous>) at b4j_eval (b4j_ws.js:55:13) at b4j_ws.onmessage (b4j_ws.js:87:13) at HTMLDivElement.<anonymous> (reconnecting-websocket.js:182:75) at ws.onmessage (reconnecting-websocket.js:282:29)... B4J Question Websocket Connection is closed. Please refresh the page to reconnect. - Blueforcer    Nov 26, 2018 I have a strange behavior in my webserver.
im using this HTML with B4J WebSockets client library v0.91
<!doctype html>
<html>
<head>
<meta charset="UTF-8"....html and press the button on the website, my browser tells me the websocket connection is closed... Page: 1   2   3   4   5   6   7   |