Sending Images over Sockets in C
- by Takkun
I'm trying to send an image file through a TCP socket in C, but the image isn't being reassembled correctly on the server side. I was wondering if anyone can point out the mistake?
I know that the server is receiving the correct file size and it constructs a file of that size, but it isn't an image file.
Client
//Get Picture Size
printf("Getting…