Re: VPN Multiple connection - WeOnlyDo Discussion board

Re: VPN Multiple connection (General questions)

by wodDamir, Saturday, September 06, 2008, 15:14 (5921 days ago) @ 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: