IPC is for communication between processes. Let me recommend Beej's guides; there's one for each.