Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Jul : Server process communicating with multiple PC's
| Subject: | Server process communicating with multiple PC's |
| Posted by: | "D-Fan" (d-fan@antispam.com) |
| Date: | Thu, 31 Jul 2008 14:20:21 |
I am writing a server process that will communicate with multiple pc's
on an as needed basis. I might have 200 - 300 PC's connected at the
same time. If I see a certain flag set I want to be able to send the
user a message. Is it best to have a thread per user to handle this
message communication or is a thread pool better at handling this?
If I use a thread pool how can I manage it so that different threads
look at different client connections?