Hi Erel,
I want to make an application where multiple sockets with different ports and IPs are active at the same time.
I did it by creating and calling 30 sockets like below and it works
But the solution doesn't seem logical and I want it to be done in such a way that we don't have a limit on...
hi everyone
i wanna to send array of integer from udp socket but i can how do it!
hoever im trying to do this but it dose not work well
here my sample code:
Private Sub Label1_Click
Dim hum=200,temp=320 As Int
Dim int() As Int = Array As Int(temp,hum)
Dim byte() As Byte =...
hi
I have many users connecting to the server, the server side is written with b4j and I want to connect them one by one, what libraries can I use for this?
Hello everyone,
Given the difficulties in finding a "ready-made" library for Modbus TCP communication.
I have decided to create a library, adapted for my needs, i decide to publish because maybe useful to someone, maybe someone want to improve on it in this forum.
I attach the library, the...
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...
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.
Hi
Erel had previously installed a CCTV source:
https://www.b4x.com/android/forum/threads/server-cctv-server.37382/#content
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...
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...
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.
http://www.adrianwalker.org/2012/06/html5-video-pseudosteaming-with-java-7.html
If you are up...
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...
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
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...
I have this code in vb.net.
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...
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...
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...
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...
hello,
how to make this example b4j network here work with ssl?
https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/
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...
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.