Does WOD support Relay when STUN fails? - WeOnlyDo Discussion board

Does WOD support Relay when STUN fails? (wodVPN)

by backupguy, Friday, May 08, 2009, 06:47 (5677 days ago)

What if STUN / UDP Hole Punching can't work? Rel 08-05-2009 06:39
What if do you do if STUN / UDP Hole Punching can't work?

i.e. according to http://en.wikipedia.org/wiki/STUN there are many scenarios when STUN and UDP hole punching won't work, even if you're using SrchUDPDouble. Does WOD support just relay? i.e. TURN? i.e. relaying packets through a central server like in TURN?

http://en.wikipedia.org/wiki/TURN

What have others done? Does WOD have a solution to this? Does the SDK?

I've purchased the SDK, but in about 10 of network pairings its not working. It fails at the linking stage...

Re: Does WOD support Relay when STUN fails?

by wodSupport, Friday, May 08, 2009, 09:05 (5677 days ago) @ backupguy

It does support relay, but you have to set it up by yourself. wodVPN internally has Relay object for this.

Kreso

Re: Does WOD support Relay when STUN fails?

by backupguy, Saturday, May 09, 2009, 01:46 (5676 days ago) @ wodSupport

So I cannot find much documentation on the Relay object in the .CHM. Should I look at the C++?

Do we use the relay object on the Mediator server, and then peer1 and peer2 connect to the Relay object?

Is that how it works? Is there any documentation on this?

Re: Does WOD support Relay when STUN fails?

by woddrazen, Saturday, May 09, 2009, 09:41 (5676 days ago) @ backupguy

Hi,


You can use wodVPN Relay object Add Method to add relay.

More help for wodVPN Relay object Add Method you can find here:
http://www.weonlydo.com/VPN/Help/WODVPNLib~VPNRelays~Add.html

There is also wodVPN RelayConnected Event and RelayDisconnected Event please check them also.

More help for RelayConnected Event you can find here:
http://www.weonlydo.com/VPN/Help/WODVPNLib~wodVPN~RelayConnected_EV.html

More help for RelayDisconnected Event you can find here:
http://www.weonlydo.com/VPN/Help/WODVPNLib~wodVPN~RelayDisconnected_EV.html


Drazen