I am working on a program about motion detection that a server side appl captures images when motion detected then it sends these pictures to a client appl.. I know that Winsocket is used for sending text but I dont know how to send images over the net!

c++ code if possible