I am sending many images from my server to clients in sequence, continuously through TCP.

Now at the client, how should I detect efficiently that this is the end of one image so I can save it to the file system and then process the next image and so on?

Edit
Report