Hello Mr.Shabir

Thanks for responding me.the actual problem is when iam using ( connect (sock,(LPSOCKADDR)&sin, sizeof(SOCKADDR_IN) ) ) this statement for connection iam getting response from server and iam displaying in emulator.After downloading some image then when iam connecting to server to get data the application is exits

help me regarding this