Good Client Socket Pool

妖精的绣舞 提交于 2020-01-01 04:50:07

问题


I need to manage long running TCP socket connections to an external server from my Java application. I'm looking for a good socket pool so I will be able to re-use the sockets. Are there any suggestions?


回答1:


You could have a look at building a socket pool on top of Commons Pool.




回答2:


Koders.com has an implementation here. I can't vouch for it's functionality, however, so you should run a few tests on it.



来源:https://stackoverflow.com/questions/938784/good-client-socket-pool

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!