Unix Domain Socket: Using datagram communication between one server process and several client processes

前端 未结 7 1253
野趣味
野趣味 2020-12-12 17:25

I would like to establish an IPC connection between several processes on Linux. I have never used UNIX sockets before, and thus I don\'t know if this is the correct approach

相关标签:
7条回答
  • 2020-12-12 18:05

    You should look into IP multicasting instead of Unix-domain anything. At present you are just trying to write to nowhere. And if you connect to one client you will only be writing to that client.

    This stuff doesn't work the way you seem to think it does.

    0 讨论(0)
提交回复
热议问题