you can recommend me a way to make the images and data read from a device with another device or applications exchange in real time.
in other words I have a device that displays the camera and sends what it sees to another device, or I read a bar code and I have to send the data to the device.
as if the first device acts as a server and the second device acts as a client. all through data exchange with WIFI.
Technically it is possible to send data together with the images however if you are basing your solution on the MJPEG example then it will be simpler to open a new port.