How to transfer real-time data between Java and C ++ code?

My application includes 2 devices - a phone and a central processor. The phone constantly transfers data to a laptop with a low latency (milliseconds). It can be assumed that both have Wifi.

What existing software should be studied to complete this task? Any examples of applications I should look at?

Greetings

+4
source share
1 answer

Maybe something like RabbitMQ or ZeroMQ. I think you are looking for a layer / messaging protocol that provides its own client for Java and C ++, and that can handle (or allow you to process in your client code) any serialization problems correctly associated with your platforms (endian- ness will be the main question to pay attention to).

+2
source

Source: https://habr.com/ru/post/1490823/


All Articles