Use tcp to send pictures


#1

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


#2

Hello,

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
image.

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.