View Single Post
  #2 (permalink)  
Old 10-13-2008, 08:18 AM
fishtoprecords's Avatar
fishtoprecords fishtoprecords is offline
Senior Member
 
Join Date: Jun 2008
Posts: 522
fishtoprecords is on a distinguished road
What have you tried?

If the interaction with the server is "quick enough" you can just let one server handle it.

wait for command, Accept it, do it, format a response, send it, close the connection, repeat.

If you take "too long" then the usual approach is to setup a thread pool, and kick off a thread for each request.

UDP or TCP has nothing to do with this.
Reply With Quote