C program using IPC (inter process communication)

i want to write a C chat program that communicates over IPC(inter process communication), that could be run using 2 seperate terminal windows within the same computer. so that wat u type in one terminal window , should appear on the other and vice versa...

could some one please help me with the code, or any explanation .... i am new to C ...:confused::(:mad::eek::eek:

Read Chapter 5 on interprocess communication:
Download Advanced Linux Programming

If you are new to 'c', then starting with IPC's may not be the writing thing to go with as beginning.

Instead, I would suggest to get a good grasp of 'c' basics and then move on to the link provided by Jim.

All the best ! :slight_smile: