You will not be able to pull multiple images across a single socket unless you know how to do http pipelining which involves processing the Content Length response header, reading all the data for one image, then submitting another HTTP GET request with socket write.