client-server message transfer

using fork().how do v send and receive messages in child and parent process.

after forking the process u can use parent as the server and the child as the client and communicate.. it will depend on what channel u want to communicate with. Unix IPC is one option and Sockets are others

thanks pa. i tried and found out.