David Rabinowitz
David Rabinowitz

Reputation: 30448

Good Client Socket Pool

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?

Upvotes: 7

Views: 12963

Answers (2)

Brian Agnew
Brian Agnew

Reputation: 272417

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

Upvotes: 3

Mark
Mark

Reputation: 29139

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

Upvotes: 6

Related Questions