one server multiple clients

后端 未结 4 2047
小鲜肉
小鲜肉 2021-01-22 08:57

I am engaging the following problems:

  1. I need to write a server program, will accept multiple clients
  2. all clients are subscribing the same data from server
4条回答
  •  被撕碎了的回忆
    2021-01-22 09:30

    What about using standards technology for solving this problem?

    JMS topic A distribution mechanism for publishing messages that are delivered to multiple subscribers.

    Tutorial

提交回复
热议问题