Is broadcasting via TCP possible?

前端 未结 4 1302
逝去的感伤
逝去的感伤 2020-12-16 13:45

I\'m writing a server/client system in C, which uses BSD Sockets under a TCP connection. The server is multi-threaded, with each connection running in its own receptor. Ea

4条回答
  •  既然无缘
    2020-12-16 14:03

    Consider looking at overlay networks, or simply using a messaging middleware that provides publish semantics such as ØMQ which also conveniently provides a BSD socket API.

提交回复
热议问题