websocket

  1. B4i Library Socket.IO Client Library

    Here is the Socket.IO Client library wrap for this Github Project. Click here for the B4A wrapper iSocketIOClient Author: @Biswajit Version: 1.4 Dependency: iRandomAccessFile iSocketIOClient SocketIOClient library wrapper for b4i. Events: Ack (data As String) CustomUserEvents (data As List...
  2. M

    B4J Question Websocket RunFunction/Flush

    Hi Evreyone! I'd like to know if the following code it's syncronous or asyncronous (where 'ws' is a websocket): ws.RunFunction("xxxxx", Null) ws.Flush More exactly if an hight latency of the connection or a low speed of the client could have a reflection on the...
  3. B4J Question More than one room in WebApp ChatRoom tutorial

    If I'm not mistaken, in the WebApp Chatroom tutorial the chat room is represented by the ChatShared code module. If you want to create more than one chat room, it is obviously necessary that this is a class; should the instances of this class be stored in a thread safe map declared and...
  4. Wish WebSocket Handler B4X

    Hello It would be great to have a built in PING function for the explicit purpose of keeping the data connection open. This would really apply on android 8.0+ when a service has a data connection open but you want to minimize the amount data to send over the connection. We have successfully...
  5. B4J Question Websocket, session and websocket handler class instance.

    Reading (and badly answering) this thread: https://www.b4x.com/android/forum/threads/question-about-jserver-websocket-handle.95966/ I learned that if a websocket was closed, the related session would not automatically be destroyed. So now I have many doubts. In my project (b4j - jServer), when...
  6. German B4J WebApp auf Port 80: IIS Reverse Proxy oder URL-Rewrite?

    Hallo, ich habe mit B4J eine WebApp erstellt. Lokal auf meinem Rechner funktioniert sie wunderbar. http://localhost:meinPort/ (meinPort wäre hier 51234) Nun habe ich die App auf einem IIS-Server eingerichtet. Die Adresse dort lautet http://meineAdresse:meinPort/ Läuft auch ohne Probleme...
  7. B4J Question [solved] org.eclipse.jetty.websocket.api.MessageTooLargeException

    I get this error on server side (b4j). I searched the forum but I found solutions only for client websockets. BTW I don't know how the websocket is created on server side, it is "received from somewhere" in the websocket handler class; although it seems strange to me, is it possible that the...
  8. Android Question [solved] WSS - Trust anchor for certification path not found.

    I have a b4j websocket server certainly reachable from outside my network (I mean that I don't have problems with ports, firewalls, ...). I created the keystore as decribed in this tutorial (more precisely as described in wiki.eclipse... linked in that tutorial) and I get that error message...
  9. B4J Question Websocket & custom types

    How to send/receive custom types? Certainly there is a better method... also because... this does not work :D I'm trying: ' SERVER - WEBSOCKET CLASS Sub Class_Globals Type tProva(ID As Int, Name As String) Private mB4XSerializator As B4XSerializator Private mStringUtils As...
  10. Android Question WebSocket library error on connect [Official Library]

    hi everyone , i am trying b4a with websocket server using libwebsocket on C++ , but show message : Server 404 not found on android application . why it happens ? both are incompatible ?
  11. B4J Question Get latest image in a folder

    Hi All, I have a web folder "10.1.1.99/view/images/" for example This folder has images added to it in 30 second spacing. What I would like is a method to display the latest image from a selected folder.
  12. D

    iOS Question Websocket & Proxy

    Hi All. I'm Using Websocket for make a Realtime Connection With my Server. When Device Connects to Proxy, The Proxy Closes the My Application Connection Is There Any Way to Solve The Problem?
Cookies are required to use this site. You must accept them to continue using the site. Learn more…