Re: [twsocket] HttpServer - PostMessage in a service/Cmd apps.
You should have started from OverbyteIcsSvcTcp which is a service instead of a GUI application. I did originally but went to the console-app, since it is easier to debug. As I understand it, it's the same unit used in both situations .. As you know how to change from one application type to another type, then it is OK. I have designed the demos to use the same module for the core function to illustrate how this can be done. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] HttpServer - PostMessage in a service/Cmd apps.
I did originally but went to the console-app, since it is easier to debug. As I understand it, it's the same unit used in both situations .. /arne 2010/11/9 Francois PIETTE francois.pie...@skynet.be I try to create a windows service with Httpserver. I have used the example in the OverbyteIcsSrvTcp1 project, with a separate unit OverbyteIcsCmd. You should have started from OverbyteIcsSvcTcp which is a service instead of a GUI application. Warning: the two demo names are very similar. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] HttpServer - PostMessage in a service/Cmd apps.
And both fail, with the same error in clientConnect and clientDisConnect, and postmessage. In your examples, there is no postMessage or postthreadMessage. Are there any examples of this, in a formless app.? 2010/11/10 Francois PIETTE francois.pie...@skynet.be: You should have started from OverbyteIcsSvcTcp which is a service instead of a GUI application. I did originally but went to the console-app, since it is easier to debug. As I understand it, it's the same unit used in both situations .. As you know how to change from one application type to another type, then it is OK. I have designed the demos to use the same module for the core function to illustrate how this can be done. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] Concurrency of multiple THttpCli instances
Hello, I wonder if there is limit imposed by the design. The issue I saw during our tests is when the cache is disabled (when one THttpCli's instance is used by the proxy server connection socket), and when the file size is small (1-10KB), the proxy server cannot use more than one CPU core! When I enable cache (THttpConnection's only) and/or raise file size to 500KB-1MB, it can use the 4 cores. Hence I believe there ought to be a critical section somewhere for the entire client sockets. Any solution to this? Best Regards, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Concurrency of multiple THttpCli instances
I suspect it could be a critical section issue since we use multi-threads and multi-clients/thread. SZ On Wed, Nov 10, 2010 at 5:39 PM, Fastream Technologies ga...@fastream.comwrote: Hello, I wonder if there is limit imposed by the design. The issue I saw during our tests is when the cache is disabled (when one THttpCli's instance is used by the proxy server connection socket), and when the file size is small (1-10KB), the proxy server cannot use more than one CPU core! When I enable cache (THttpConnection's only) and/or raise file size to 500KB-1MB, it can use the 4 cores. Hence I believe there ought to be a critical section somewhere for the entire client sockets. Any solution to this? Best Regards, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be