I\'m trying to implement a streaming service using OpenCV and sockets. The server side loads a given image and sends it to the client, which receives it through the socket a
Buffer overflow. And I am not sure that format and sizes of image are the same -> you should serialize your Mat honestly, something like here.