ipc samples in c