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.
所以我打开了一个套接字连接,就像这里描述的那样,我想让其他进程使用那个打开的连接。会dup()帮助我还是我该怎么办?
dup()
为了在现有进程之间传递套接字,您需要使用sendmsg- 或抽象整个事物的libancillary 。
sendmsg