Reputation:
I can create a FIFO for one-way communication. But how would I go for two-way communication? I can create a C file which can act as the sender and open another terminal which acts as receiver. But how would I establish the two-way communication? Thanks!
Upvotes: 0
Views: 1713
Reputation: 33
You can't. Try a socket. Consider reading the manual for the socketpair function.
Upvotes: 1