I need a sample code to start a program that can receive a jpeg file from server using socket programming. Any code or reference is appreciated.