Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Mon, 10 Sep 2007 17:33:14 +0800,    group: microsoft.public.platformsdk.networking        back       


establishing a VPN connection   
I'm trying to find out how to programmatically establish a connection of a 
VPN Network Connection to the VPN server. With answers from another forum 
and searching around, I came across RasDial() and RasHangup() in the SDK. 
Can anyone tell me if i'm on the right track here? It mentions things like 
phonebook and I'm wondering if that means the objects available in Network 
Connections.

I could either create a VPN Network Conenction and try to use RasDial to 
initiate that or I could get the address, username and password and use 
those to directly initiate the VPN connection.

Thanks
date: Mon, 10 Sep 2007 17:33:14 +0800   author:   Bill don't want more spam

Re: establishing a VPN connection   
I've managed to get a VPN connection to connect using RasDial. Now I can't 
figure out how to find out the IP address of the VPN server connection I'm 
connected to or my own VPN client connection IP address. Any help please???


"Bill >" <<don't want more spam> wrote in message 
news:uKkO4z48HHA.1204@TK2MSFTNGP03.phx.gbl...
> I'm trying to find out how to programmatically establish a connection of a 
> VPN Network Connection to the VPN server. With answers from another forum 
> and searching around, I came across RasDial() and RasHangup() in the SDK. 
> Can anyone tell me if i'm on the right track here? It mentions things like 
> phonebook and I'm wondering if that means the objects available in Network 
> Connections.
>
> I could either create a VPN Network Conenction and try to use RasDial to 
> initiate that or I could get the address, username and password and use 
> those to directly initiate the VPN connection.
>
> Thanks
>
date: Wed, 12 Sep 2007 02:10:38 +0800   author:   Bill Brehm don't want spam

Re: establishing a VPN connection   
I answered on this network NG, as to how netstat -o do that programmatically 
you need
to use AllocateAndGetTcpExTableFromStack()
Arkady

"Bill Brehm" <don't want spam> wrote in message 
news:O5qaS8J9HHA.5164@TK2MSFTNGP05.phx.gbl...
> I've managed to get a VPN connection to connect using RasDial. Now I can't 
> figure out how to find out the IP address of the VPN server connection I'm 
> connected to or my own VPN client connection IP address. Any help 
> please???
>
>
> "Bill >" <<don't want more spam> wrote in message 
> news:uKkO4z48HHA.1204@TK2MSFTNGP03.phx.gbl...
>> I'm trying to find out how to programmatically establish a connection of 
>> a VPN Network Connection to the VPN server. With answers from another 
>> forum and searching around, I came across RasDial() and RasHangup() in 
>> the SDK. Can anyone tell me if i'm on the right track here? It mentions 
>> things like phonebook and I'm wondering if that means the objects 
>> available in Network Connections.
>>
>> I could either create a VPN Network Conenction and try to use RasDial to 
>> initiate that or I could get the address, username and password and use 
>> those to directly initiate the VPN connection.
>>
>> Thanks
>>
>
>
date: Thu, 13 Sep 2007 08:02:30 +0300   author:   Arkady Frenkel

Re: establishing a VPN connection   
AllocateAndGetTcpExTableFromStack is not in my MSDN but i found out online 
that it is being obsoleted and they recommend GetTcpTable() instead. 
However, although this has been around since
Windows 98 it depends on Iphlpapi.h which is not anywhere on my PC. Do I 
have to install something for that to be available? I'm using MSVC++ 6.0.

"Arkady Frenkel"  wrote in message 
news:O6g0$Mc9HHA.600@TK2MSFTNGP05.phx.gbl...
>I answered on this network NG, as to how netstat -o do that 
>programmatically you need
> to use AllocateAndGetTcpExTableFromStack()
> Arkady
>
> "Bill Brehm" <don't want spam> wrote in message 
> news:O5qaS8J9HHA.5164@TK2MSFTNGP05.phx.gbl...
>> I've managed to get a VPN connection to connect using RasDial. Now I 
>> can't figure out how to find out the IP address of the VPN server 
>> connection I'm connected to or my own VPN client connection IP address. 
>> Any help please???
>>
>>
>> "Bill >" <<don't want more spam> wrote in message 
>> news:uKkO4z48HHA.1204@TK2MSFTNGP03.phx.gbl...
>>> I'm trying to find out how to programmatically establish a connection of 
>>> a VPN Network Connection to the VPN server. With answers from another 
>>> forum and searching around, I came across RasDial() and RasHangup() in 
>>> the SDK. Can anyone tell me if i'm on the right track here? It mentions 
>>> things like phonebook and I'm wondering if that means the objects 
>>> available in Network Connections.
>>>
>>> I could either create a VPN Network Conenction and try to use RasDial to 
>>> initiate that or I could get the address, username and password and use 
>>> those to directly initiate the VPN connection.
>>>
>>> Thanks
>>>
>>
>>
>
>
date: Sat, 15 Sep 2007 12:47:45 +0800   author:   Bill don't want more spam

Re: establishing a VPN connection   
Have you installed the Windows (Platform) SDK?


"Bill >" <<don't want more spam> wrote in message 
news:uKs1kL19HHA.4200@TK2MSFTNGP04.phx.gbl...
> AllocateAndGetTcpExTableFromStack is not in my MSDN but i found out online 
> that it is being obsoleted and they recommend GetTcpTable() instead. 
> However, although this has been around since
> Windows 98 it depends on Iphlpapi.h which is not anywhere on my PC. Do I 
> have to install something for that to be available? I'm using MSVC++ 6.0.
>
> "Arkady Frenkel"  wrote in message 
> news:O6g0$Mc9HHA.600@TK2MSFTNGP05.phx.gbl...
>>I answered on this network NG, as to how netstat -o do that 
>>programmatically you need
>> to use AllocateAndGetTcpExTableFromStack()
>> Arkady
>>
>> "Bill Brehm" <don't want spam> wrote in message 
>> news:O5qaS8J9HHA.5164@TK2MSFTNGP05.phx.gbl...
>>> I've managed to get a VPN connection to connect using RasDial. Now I 
>>> can't figure out how to find out the IP address of the VPN server 
>>> connection I'm connected to or my own VPN client connection IP address. 
>>> Any help please???
>>>
>>>
>>> "Bill >" <<don't want more spam> wrote in message 
>>> news:uKkO4z48HHA.1204@TK2MSFTNGP03.phx.gbl...
>>>> I'm trying to find out how to programmatically establish a connection 
>>>> of a VPN Network Connection to the VPN server. With answers from 
>>>> another forum and searching around, I came across RasDial() and 
>>>> RasHangup() in the SDK. Can anyone tell me if i'm on the right track 
>>>> here? It mentions things like phonebook and I'm wondering if that means 
>>>> the objects available in Network Connections.
>>>>
>>>> I could either create a VPN Network Conenction and try to use RasDial 
>>>> to initiate that or I could get the address, username and password and 
>>>> use those to directly initiate the VPN connection.
>>>>
>>>> Thanks
>>>>
>>>
>>>
>>
>>
>
>
date: Sat, 15 Sep 2007 00:33:26 -0700   author:   Sam Hobbs _change_social_to_socal

Re: establishing a VPN connection   
That not API in Windows 9x but that from XP that documented ( depricated in 
Vista )
http://msdn2.microsoft.com/en-us/library/aa365804.aspx
Arkady

"Bill >" <<don't want more spam> wrote in message 
news:uKs1kL19HHA.4200@TK2MSFTNGP04.phx.gbl...
> AllocateAndGetTcpExTableFromStack is not in my MSDN but i found out online 
> that it is being obsoleted and they recommend GetTcpTable() instead. 
> However, although this has been around since
> Windows 98 it depends on Iphlpapi.h which is not anywhere on my PC. Do I 
> have to install something for that to be available? I'm using MSVC++ 6.0.
>
> "Arkady Frenkel"  wrote in message 
> news:O6g0$Mc9HHA.600@TK2MSFTNGP05.phx.gbl...
>>I answered on this network NG, as to how netstat -o do that 
>>programmatically you need
>> to use AllocateAndGetTcpExTableFromStack()
>> Arkady
>>
>> "Bill Brehm" <don't want spam> wrote in message 
>> news:O5qaS8J9HHA.5164@TK2MSFTNGP05.phx.gbl...
>>> I've managed to get a VPN connection to connect using RasDial. Now I 
>>> can't figure out how to find out the IP address of the VPN server 
>>> connection I'm connected to or my own VPN client connection IP address. 
>>> Any help please???
>>>
>>>
>>> "Bill >" <<don't want more spam> wrote in message 
>>> news:uKkO4z48HHA.1204@TK2MSFTNGP03.phx.gbl...
>>>> I'm trying to find out how to programmatically establish a connection 
>>>> of a VPN Network Connection to the VPN server. With answers from 
>>>> another forum and searching around, I came across RasDial() and 
>>>> RasHangup() in the SDK. Can anyone tell me if i'm on the right track 
>>>> here? It mentions things like phonebook and I'm wondering if that means 
>>>> the objects available in Network Connections.
>>>>
>>>> I could either create a VPN Network Conenction and try to use RasDial 
>>>> to initiate that or I could get the address, username and password and 
>>>> use those to directly initiate the VPN connection.
>>>>
>>>> Thanks
>>>>
>>>
>>>
>>
>>
>
>
date: Sat, 15 Sep 2007 13:58:51 +0300   author:   Arkady Frenkel

Re: establishing a VPN connection   
BTW I don't think that GetTcpTable()  will be helpful in this case but 
GetExtendedTcpTable() http://msdn2.microsoft.com/en-us/library/aa365928.aspx
Arkady

"Arkady Frenkel"  wrote in message 
news:OnOPdd49HHA.748@TK2MSFTNGP04.phx.gbl...
> That not API in Windows 9x but that from XP that documented ( depricated 
> in Vista )
> http://msdn2.microsoft.com/en-us/library/aa365804.aspx
> Arkady
>
> "Bill >" <<don't want more spam> wrote in message 
> news:uKs1kL19HHA.4200@TK2MSFTNGP04.phx.gbl...
>> AllocateAndGetTcpExTableFromStack is not in my MSDN but i found out 
>> online that it is being obsoleted and they recommend GetTcpTable() 
>> instead. However, although this has been around since
>> Windows 98 it depends on Iphlpapi.h which is not anywhere on my PC. Do I 
>> have to install something for that to be available? I'm using MSVC++ 6.0.
>>
>> "Arkady Frenkel"  wrote in message 
>> news:O6g0$Mc9HHA.600@TK2MSFTNGP05.phx.gbl...
>>>I answered on this network NG, as to how netstat -o do that 
>>>programmatically you need
>>> to use AllocateAndGetTcpExTableFromStack()
>>> Arkady
>>>
>>> "Bill Brehm" <don't want spam> wrote in message 
>>> news:O5qaS8J9HHA.5164@TK2MSFTNGP05.phx.gbl...
>>>> I've managed to get a VPN connection to connect using RasDial. Now I 
>>>> can't figure out how to find out the IP address of the VPN server 
>>>> connection I'm connected to or my own VPN client connection IP address. 
>>>> Any help please???
>>>>
>>>>
>>>> "Bill >" <<don't want more spam> wrote in message 
>>>> news:uKkO4z48HHA.1204@TK2MSFTNGP03.phx.gbl...
>>>>> I'm trying to find out how to programmatically establish a connection 
>>>>> of a VPN Network Connection to the VPN server. With answers from 
>>>>> another forum and searching around, I came across RasDial() and 
>>>>> RasHangup() in the SDK. Can anyone tell me if i'm on the right track 
>>>>> here? It mentions things like phonebook and I'm wondering if that 
>>>>> means the objects available in Network Connections.
>>>>>
>>>>> I could either create a VPN Network Conenction and try to use RasDial 
>>>>> to initiate that or I could get the address, username and password and 
>>>>> use those to directly initiate the VPN connection.
>>>>>
>>>>> Thanks
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
date: Sat, 15 Sep 2007 14:08:39 +0300   author:   Arkady Frenkel

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us