VPN

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi all,

does anybody have any idea how to (in C++) establish new VPN connection (or
modify older) in windows xp (it means define connection, all its seting and
then define new users)?

thanks for any help!
lubos
 
Lubos said:
does anybody have any idea how to (in C++) establish new VPN connection
(or
modify older) in windows xp (it means define connection, all its seting
and
then define new users)?

You might want to take a look at the functions in the Remote Access Service
(RAS) API to see if there is one (or more) that does what you need:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rras/rras/ras_start_page.asp

especially RasCreatePhonebookEntry() and RasEntryDlg().

Regards,
Will
 
thanks a lot. in this way i could establish new connectio for dial out , but
i forgot mention that i need to set up incoming connections. i took a rough
look at RAS functions and i saw nothing for doing that... is there another
possibility how to establish these types of connections in c++ ? (in the best
case without having any dialogs - i mean everything within code)
 
Lubos said:
thanks a lot.

You are welcome.
in this way i could establish new connectio for dial out ,
Yes.

but i forgot mention that i need to set up incoming connections. i took a
rough
look at RAS functions and i saw nothing for doing that... is there another
possibility how to establish these types of connections in c++ ?

Network adminstration is not among the things I know well <g>, so I really
couldn't tell you.

If you took a look at this:

http://msdn.microsoft.com/library/d...and_remote_access_service_rras_start_page.asp

and can't find what you need, I suggest that you find a group on network or
RAS and post again there.

Regards,
Will
 
Hi,
I want to create an Incoming connection and set some of it
attributes programmatically,
Can someone give me pointer?
Thanks in advance,
Suchitra


-
svkulkarni1
 
Back
Top