I am sending many images from my server to client in sequence continuously through TCP.Now at client,how should i detect efficiently that this is end of my one image so writ
A quick look at Wikipedia's JPEG article would have given you the answer: