|
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.
|