Hello, I found some time to work on a new multi-threading TCP server component. It features multiple listen sockets implemented as TCollectionItems and dynamic connection pooling. Threads as well as client objects are dynamically managed. Tested as a simple echo server it appears to be very fast. Though it is still work in progress the inluded demo runs stable, tested with several million test connections. The demo also runs listen sockets in a worker thread, and lets you set CPU binding (affinity masks) of the various threads. I appreciate if interested ICS users would help to improve, test or just play with it, anyway it is a nice toy ;-) Your comments are welcome.
The ZIP also includes a test client which is a quick and dirty modification of Wilfried's GPRS Client. http://www.duodata.de/misc/delphi/MTServer_Bin.zip (~ 500 KB) http://www.duodata.de/misc/delphi/MTServer_Src.zip (~ 50 KB) Requires latest ICS-V6, Delphi7 or Delphi10. Also the included, slightly modified OverbyteIcsWndControl.pas (Property ThreadID published, search for "{AG}") which Francois has not confirmed yet. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be