user2672367
user2672367

Reputation:

creating two-way communication fifo

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

Answers (1)

user1182692
user1182692

Reputation: 33

You can't. Try a socket. Consider reading the manual for the socketpair function.

Upvotes: 1

Related Questions