what is different between ipc and socket programming .
when we use ipc?
when we use socket programming?