View Single Post
  #2 (permalink)  
Old 06-22-2008, 06:21 AM
fishtoprecords's Avatar
fishtoprecords fishtoprecords is offline
Senior Member
 
Join Date: Jun 2008
Posts: 475
fishtoprecords is on a distinguished road
What's the problem?
It unlikely that any single computer will handle 400 simultaneous network connections, do you expect them all to work at once?

In general, its more reliable to queue requests in the main thread, and have one or more workers that do the actual network communications. The keeps one request from blocking all others.

The Java concurrency modules have suitable tools to build this.
Reply With Quote