Library documentation: WebSocket - v2.10 B4J Tutorial [server] Automatic Reconnecting WebSocket - Erel    Jan 6, 2016   (12 reactions)   tags: B4J Server Websocket When working with WebSocket handlers the client maintains an online connection. The connection... can be temporary broken. Especially when the client is a mobile browser.
Using the Reconnecting-WebSocket... B4J Tutorial [WebApp] Web Apps Overview - Erel    May 30, 2021   (21 reactions)   tags: Erel Stuff, b4j applications based on WebSocket technology. With WebSocket The browser and the server maintain... type of "handler" named WebSocket.
The browser UI is implemented in html / css.
B4J Web App... B4J Tutorial [WebApp] Example Team Manager using jQuery Mobile, WebSockets & SQLite - rwblinn    May 27, 2014   (7 reactions) , WebSockets and an SQLite database, accesible via browser.
Extensive use of jQM dialogs instead.... Index.html opens the websocket defined in teem.bas.
The teem.bas handler selects the records from... B4J Tutorial [IoT] MQTT Protocol - Erel    Sep 26, 2023   (24 reactions)   tags: MQTT, Messages and websocket) solutions:
With MQTT we only need to develop the clients. The server (message broker... (subscribe). Note that we can implement a similar solution with WebSockets.
It is a many to many connection... B4J Tutorial [WebApp] Example Task Manager using WebSockets & SQLite - rwblinn    Apr 13, 2014   (10 reactions) This example is a simple Task Manager using HTML to access the server by the Client.
The tasks are s... B4J Tutorial [WebApp] Chatroom - Threads, Sessions and Server events - Erel    Oct 19, 2017   (8 reactions) .
The WebSocket is broken when the browser navigates to a different page (or refreshes the current page..., Null)
End If
Threads
Each WebSocket class instance runs in a different thread (in release mode... B4J Tutorial [WebApp] Hello World Web App - Erel    Apr 17, 2014   (13 reactions)   tags: Web App, b4j, html the server and the handlers and web sockets.
In this case we have a single WebSocket. It is mapped to a url which we later need to set in the html file.
The WebSocket class name is HelloWorld.
Sub...
srvr.Start
StartMessageLoop
End Sub
WebSocket class: These classes are similar to Basic4android... B4J Tutorial Consuming http streams - Erel    Nov 22, 2019   (22 reactions)   tags: http stream video, stream video Standard http communication is made of a request being sent from the client to the server and the server response sent back to the client. As I'm sure you know you should use OkHttpUtils2 for such requests. There are other protocols such as WebSockets that allow bi-directional and long lasting communication between the client and server. There are some cases where the server keeps the connection open and streams data to the client. Assuming that WebSockets are not used then such cases... B4J Tutorial [Server] SSL Connections - Erel    Jun 28, 2021   (15 reactions)   tags: B4J, ports SSL WebSocket.Secure to make sure that a secure connection has been made (this will be the case if the current... B4J Tutorial [BANano+jSERVER=BANanoServer] Going full circle - alwaysbusy    Oct 27, 2023   (28 reactions) ): ' B4J compatible ONLY code, no BANano allowed. 'WebSocket class Sub Class_Globals Private ws As WebSocket Private CacheReport As BANanoCacheReport ' a class used by both the SERVER... End Sub Private Sub WebSocket_Connected (WebSocket1 As WebSocket) Log("Connected") ws = WebSocket1 ' Lets update the cache with this class CacheReport = Main.Server... the browser support websockets? If ws.IsSupported Then ' here we connect to our SERVERAbout... Page: 1   2   3   4   5   6   |