i want an example how winsock can grab image in dataarrival and put on picture1

i want to se some code for winsock dataarrival grabs image with name imgsrc any winsock example will do