Thanks, i need a pub/sub messaging system real time, reliable that can handle connections lost transparently
b4a websockets looks not so efficient for connection lost detection.
And ZMQ is TCP and More i think.
Thanks, i need a pub/sub messaging system real time, reliable that can handle connections lost transparently
b4a websockets looks not so efficient for connection lost detection.
And ZMQ is TCP and More i think.
HTTP/HTTPS. Socket.io uses WebSockets (when available) for communications. Please note Socket.io preferred communication channel is WebSockets, but if a browser does not have it (back then, many did not), then Sockiet.io provides alternative ways to communicate (over HTTP).
Thanks OliverA, socket.io will not help. since its websocket based or http
I need something more low level, as TCP/IP or UDP
I want to build a lightweight RELIABLE communication messaging to interconnect, multiples b4a app, either directly by UDP or via a TCP server without broker (most of them dont use websocket, but MQTT)
ZeroMQ looks fine, i implemented it on server side, but not succeded on B4A side
Regards
websocket is on top of HTTP, which is on top of TCP
Network failure makes a big latency (up to 20 sec or more ) before it triggers disconnec or error event
During this time, you keep sending and losing messages
Regards
Which of the models pointed out in the following link will you be using? http://zeromq.org/whitepapers:brokerless. If you are thinking about going fully broker-less (even without Directory Services), why not just use AsyncStreams to communicate?
Which of the models pointed out in the following link will you be using? http://zeromq.org/whitepapers:brokerless. If you are thinking about going fully broker-less (even without Directory Services), why not just use AsyncStreams to communicate?
It will look like a server as a Directory of Service to manage connecting apps data: IPs and PORTs
And the app will send directly UDP frame to the final app with those informations
Plan to use Network library
1) Yes i am trying to use Network lib and AsyncStreams but i lack zeroMQ STREAM wire format documentation to implement.
2) I thougt UDP can fit.