Posted on 2001-09-06
I have several Questions. Perhaps they can all be answered with a small server example with some good comments !
-Is there a maximum number of clients that can connect concurrently to a TServerSocket?
-Can the ServerSocket listen on multiple ports or should I use multiple ServerSocket components in the application?
(If multiple ports I could use some code)
-What considerations do I need to make in order to have 100+ connections (NonBlocking, ThreadBlocking, etc)?
-How do I keep track of what connection belongs to each client so I may send specific messages back to each one? (I could really use an example of this)
-Are the special considerations for the client side (NonBlocking or ThreadBlocking)?
I will put 200 points for this since there are quite a few questions.