Dart Home | PowerTCP WebServer for ActiveX | Custom Development | Reply | PowerTCP WebServer for ActiveX Topics | Forums |
Author | Forum: PowerTCP WebServer for ActiveX Topic: Web server activex multiple requests |
fran2017 From: Spain Posts: 3 Member Since: 09/22/17 |
posted September 22, 2017 3:41 AM Hi, I'm using your webserver activex control demo with vb6, have some example use for accept multiple requests at the same time, in the examples I can only accept one at a time. And in the aid I do not see clear how to do it. a greeting Fran |
Nick B (Admin) From: Utica, NY USA Posts: 619 Member Since: 05/25/10 Extra Support Options Custom Application Development |
posted September 22, 2017 3:42 PM Hello, Can you clarify what you mean by "accept multiple requests at the same time"? What are you trying to do? Have you read the "Scalability" help topic in the help documentation? |
fran2017 From: Spain Posts: 3 Member Since: 09/22/17 |
posted September 25, 2017 3:13 AM Hi, thanks for your help. Yes I have read that part of the help. What I try is simply that the server attends several requests to serve the web programmed at the same time, to several clients at the same time. In the examples it only serves one client at a time. For example, if you are serving the index page .... and another customer enters, you do not attend until which has ended with the first. We would appreciate a vb6 example of how to serve multiple clients at once. A greeting. |
Mike Baldwin (Admin) From: Rome, NY USA Posts: 114 Member Since: 04/11/00 Extra Support Options Custom Application Development |
posted September 25, 2017 10:05 AM A limitation of Visual Basic is that it's single-threaded, meaning you can only service one event at a time. Multiple requests will be queued up, so this is not normally a problem. If you need more robust multi-threaded performance, then you need to port your application to an environment that supports multiple threads, like .NET. The PowerTCP Sockets for .NET product contains a server component that fully supports multiple threads (where your code can execute on more that one concurrent thread). Hope this helps. |
fran2017 From: Spain Posts: 3 Member Since: 09/22/17 |
posted September 29, 2017 11:03 AM Ok, A greeting. |
Reply | PowerTCP WebServer for ActiveX Topics | Forums |
This site is powered by PowerTCP WebServer for ActiveX |