Multiple Instances of wodWebServer (General questions)
Do you have any recomendation for best practice use to declare multiple instances of the wodWebServer component?
I am using VB6 with the COM component, and implementing fast notifications (instead of events). I need to listen on port 80 and 443 (so I can forward users who connect without SSL to the correct port). The only way I have found to listen on two ports, is to create two instances of the object. I am currently loading 2 forms with referencing Implements IWodWebNotify . This is somewhat cumbersome. Is there a better way to do this?
Thanks for your help.
Re: Multiple Instances of wodWebServer
Dave,
you need only one form. You can create two instances of wodWebServer, set up exactly the same properties (except for choice of secure transfer), and you can set reference to *same* instance of fast notifications to both wodWebServer instances - especially if they give same responses to same http/https requests.
If you need to make the difference between two of them, you can always use 'Owner' argument in each event.
Hope I helped.