1. M

    Wrap Socket.IO For B4I

    Hi, Can anyone wrap the new Socket.IO library for b4i? link library in github.
  2. HassanProgrammer

    B4J Question How to use b4j on vps?

    Hello I want to use b4j on vps for the first time. I want to create a clip making program with b4a so that the user sends a series of information such as photos, text, etc. to the server and this information will be sent to b4j. In b4j and on the server, a series of changes may be made to the...
  3. M

    Android Question signalr

    Hi, How to use signalr in basic4android?
  4. yo3ggx

    B4J Question Finding local port used by a socket

    I have a tcp connection established to a remote server. How can I find the tcp port used by the local socket? I want to use it for an UDP connection too. Thank you.
  5. B

    Android Question Difficulty converting bytes to images

    Hi Erel had previously installed a CCTV source: I edited these sources for further practice so that images from one client are sent in bytes to the server and from the server are sent to another client, and in another...
  6. Star-Dust

    B4i Library SD: iHttpServer (beta)

    I started developing a version of the HttpServer Library for iOs. It is still a beta version and not complete, but already functional. You can start using it to test it. Includes WebSocket and QueryElement implementation Digest Auth will be added in the future. I have arrived at a first version...
  7. M

    iOS Question Forward notification via bluetooth

    Hi everyone, I've a question. There is a way to forward notifications to an bluetooth device, like the 10$ smartwatch does? Thanks
  8. Ibrahim Saleh

    Video Streaming App

    I need an b4a app that is able to stream video from local storage. The video streaming service must use socket server to send chuck byte array to the video player. For more reference check this link. If you are up...
  9. Enrico Fuoti

    Android Question Problem trying to write to socket bytes with some values greater then chr(128)

    Hi all, my problem is to write to a wifi socket connected to a led display. The Display accepts a 22 byte string, but some of the required chars are chr(177) to chr(186). When I assign the string to buffer the buffer of course gets negative values.. and the display will not generate any...
  10. Dougliane

    Android Question [WriteInt] Socket Usage ???

    I have the following code in java. How do I apply writeint in b4a??? I only have these options with b4a AStreamsClient.Write AStreamsClient.Write2 AStreamsClient.WriteStream
  11. D

    iOS Question App not responding to socket messages while in background

    Hi all, I have an app which uses sockets (from the iNetwork library) to communicate with another device over WiFi. Some of the messages received from the other device can cause local notifications to be raised on the iPhone running the app, or the app to send responses back to the other device...
  12. Dougliane

    Android Question Socket MemoryStream Connect B4A

    I have this code in Connect perfectly! Public Shared Sub Send(ByVal msg As String) Try Using MS As New MemoryStream Dim B As Byte() = SB(msg) Dim L As Byte() = SB(B.Length & CChar(vbNullChar)) MS.Write(L, 0...
  13. semar

    In the need of a socket-outlet controlled via bluetooth

    Dear all, I would like to switch a lamp on and off with a B4A app running on an android smartphone. The lamp should be connected to a socket-outlet controlled via bluetooth. Are there any socket-outlet that are easy to interface with ? I mean a model which can be plugged in a home socket-outlet...
  14. L

    Android Question Wait For Error. WeakReference NullPointerException

    Hi everyone, I developed in my app the comunication with a fiscal printer. I do it opening a socket and writing the comands in the stream. I load the comands in a strings array and then I write them to the fiscal printer in a loop. I have to wait the response from the fiscal printer (with the...
  15. Waldemar Lima

    B4J Tutorial How create a Chat using B4J and Server Composer [ Socket ]

    hello everyone ! It is with great honor that I present to you my tool for creating websocket & socket servers, it was developed using C ++ [libwebsocket, enet, winsock, lua_wrapper, scintilla and others]. Today I will do a tutorial on how to use B4J with ServerComposer BUY HERE * First we...
  16. MarkusR

    Android Question Server App with Network & TCP Socket + SSL

    hello, how to make this example b4j network here work with ssl? i set the server into listen after a button click. if me click connect from "client" the server show a connect but the client stay in status...
  17. Sandman

    Android Question Can a socket be connected and closed at the same time?

    I whipped up some code to help out with a little logging, but surprisingly often it crashes with Socket Closed in the line commented with CRASH HERE. I've wrapped everything carefully to make sure the socket should be in good shape, but even though it apparently is...
  18. Kevin

    Android Question Strange issues with socket/asyncstream [Solved]

    I used the B4X Serializator tutorial as the basis for an android app that communicates with my ESP-12E. For the most part it works great, however, I have noticed some strange issues: If I don't "disconnect" when pausing the activity (such as when exiting the app), then it seems to stay...
  19. F

    Android Question Socket type not found

    Hello, I declare : dim Socket1 as Socket. But Socket type not found , and show missing library? What have to do? Help please. I'am new B4A user. Regards
  20. giofram

    Android Question B4X: cross-platform and socket managing features

    Dear B4Xers, we need to create cross-platform UI; we need to work with sockets in the background also. A typical example of our hypothetical application is an app where a disabled person "explores" an ever-changing UI that is dynamically generated to learn how to use different types of controls...