Simple Unix IPC implementation with Sockets
Author:
We use socket programming for inter process communications to design a simple console based chat application.
gcc chatserv.c -o serv
gcc chatcli.c -o cli
./serv
(in a new tab)
./cli
Then chat away!
It's possible to generalize both server and client by accepting the ip of the machines in command line, or even supply server ip to client in commadline.