Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以为单向通信创建一个 FIFO。但是我将如何进行双向通信?我可以创建一个可以充当发送者的 C 文件并打开另一个充当接收者的终端。但是我将如何建立双向通信?谢谢!
你不能。试试插座。考虑阅读 socketpair 函数的手册。