Network Programming: to maintain sockets or not?

后端 未结 7 1112
耶瑟儿~
耶瑟儿~ 2021-01-12 13:09

I\'m currently translating an API from C# to Java which has a network component.

The C# version seems to keep the input and output streams and the socket open for th

7条回答
  •  广开言路
    2021-01-12 13:47

    I suggest you look at using an existing messaging solution like ActiveMQ or Netty. This will handle lot of the issues you may find with messaging.

提交回复
热议问题