B4J Question Data transfert

fishwolf

Well-Known Member
Licensed User
Longtime User
i need create a server for receive and send data from clients (raspberry) with a permanent connection.

client send data to server and write into database
server read data into database and send to client

what is the best component in b4j for many connections?

Thanks
 

fishwolf

Well-Known Member
Licensed User
Longtime User
i'm tring to use mqtt protocol

the broken manager the connection from client and server as chat example
the devices are the clients

but the process that write and read into database is a broken implementation?
or i a client that subscribe all flows?
 
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime User
1) if i understand well, if i have 1.000 client, i have a "hub" client that subscribe 1.000 channels
right?

2) the broken don't receive events, but i have notice the Inizializate method have the event name, can i check if all clients are connected? or manage other events?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top