Multiple Instances of wodWebServer - WeOnlyDo Discussion board

Multiple Instances of wodWebServer (General questions)

by Dave Waters, Monday, October 25, 2004, 17:46 (7332 days ago)

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

by wodSupport, Monday, October 25, 2004, 19:25 (7332 days ago) @ Dave Waters

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.