Re: wodVPN For 1 Server - N Client Scenario - WeOnlyDo Discussion board

Re: wodVPN For 1 Server - N Client Scenario (General questions)

by wodDamir, Saturday, October 11, 2008, 17:53 (5885 days ago) @ tanmay

Hi Tanmay,

Let me try to explain. You can find a sample code below which should demonstrate the way I accomplished this. I use 3 wodVPN instances to connect two users (3rd is Mediator, which is used to detect incoming connection).

Also, I declared all of the instances statically, but I believe it should be sufficient for this sample to show howo i imagined this.

EDIT: Since whole code doesn't fit here, I'll post it in second one.

I would like to confirm - do you mean to have the above code AT MEDIATOR ? [as mediator connected event is fired at mediator only]. Please advise, where should this code be placed.

Yes, as seen from the sample code.

Given this, we would like to know, how does wodVPN support ability to have multiple simultaneous connections at given peer, WITH SAME ID [the MyID value]?

Both instances that connect to clients have the same MyID property, so I don't see a reason for this not to work.

Hope this helps.

Regards,
Damba


Complete thread: