Re: VPN Multiple connection (General questions)
Hello,
Thanks for response.
As i have observed when user connects to Mediator.. then MediatorConnected event is getting fired and it is having user's IP and port too..so just to confirm and make sure, Are talking for userconnected or mediatorconnected event?
And i have tried to create new instance in mediatorconnected event too as you said below in loadNewVPN..connection can be established even but then if we try to connect another user then mediatorconnected event is not getting fired for another user.
Please let me know your comments/views for this above.
Regards,
Nisha
Nisha,
Nope, UserConnected will be fired when user connects to Mediator. You will then be provided with user's IP, and port from which he is coming. Please check the following link on mediator info:
http://www.weonlydo.com/VPN/Help/Mediator.html
Simply implement a new procedure, something like:
--------------------------------------------------------
Private Sub LoadNewVPN(Hostname as string, Port as Integer) 'include any other needed parameters
'now initiate an instance
Dim wodVPN2 as wodVPNCom
Set wodVPN2 = new wodVPNCom
wodVPN2.HostName = Hostname
wodVPN2.Port = Port
wodVPN2.Connect
End Sub
--------------------------------------------------------Please note that this is just a sample, and isn't a complete solution.
Regards,
Damba
Complete thread:
- VPN Multiple connection - Nisha, 2008-09-06, 11:58
- Re: VPN Multiple connection - wodDamir, 2008-09-06, 13:26
- Re: VPN Multiple connection - Nisha, 2008-09-06, 14:37
- Re: VPN Multiple connection - wodDamir, 2008-09-06, 15:14
- Re: VPN Multiple connection - Nisha, 2008-09-10, 05:53
- Re: VPN Multiple connection - woddrazen, 2008-09-10, 09:24
- Re: VPN Multiple connection - Nisha, 2008-09-11, 08:10
- Re: VPN Multiple connection - woddrazen, 2008-09-10, 09:24
- Re: VPN Multiple connection - Nisha, 2008-09-10, 05:53
- Re: VPN Multiple connection - wodDamir, 2008-09-06, 15:14
- Re: VPN Multiple connection - Nisha, 2008-09-06, 14:37
- Re: VPN Multiple connection - wodDamir, 2008-09-06, 13:26