Use tcp to send pictures

Hi, hi everyone.
I follow the ofxTCPServe sendRawBytesToAll () function to send picture data, However, the picture data received does not allow me to fully display the picture,Is there any better way, thank you


What do you mean that you can not fully display the picture.

May be that image was not fully received? What about if you send smaller

TCP protocol send without loss of data, but may be you did not received the
whole image because the buffer reception was not ready to save all data
until is completed. Try to fix.