Create VPN connection and pass data remotely

Mar 4, 2010 at 3:03 PM

Hi All, I m a newbie and trying to accomplish the following task. Any guidance and help will be much more appreciated.

I would like to create a vpn connection from within a application and send data remotely using sockets within thevpn tunnel.  At the remote site, I will have a listener application which collects data.

Please advice.


Mar 4, 2010 at 3:17 PM

I'd like to start by pointing out this project is not intended for beginners. Granted I've taken a lot of the difficulty out of using RAS with it, but I still take the stance you need to have some skill with the language before using it.

With that said, look in the CreateAndDialVpnEntry example in the SDK you downloaded. It should give you a decent starting point from there.