tags:

views:

29

answers:

0

hi, i want get information about pppoe connection and i m thinking to do it with VBScript ( if possible )

so what i want to do is

Get the information of connection
if connected 
then this thing

if not
then this thing

wait for 2 mins
and then dial connection 

i know there is a method to ping a server to know the connection state but i want to do it with a better way so finally i come across this book Pocket PC Network Programming by Steven Makofsky

its for Pocket pc but i guess we can make it working for XP with VBScript

Remote Access Service at page 203

and

connection management at page 233

RasGetConnectStatus() function

check this book at google books to get the idea --click here

and

Another Great resource by calling functions from perl or something please click here

i always try to learn things with practicals so please help me, most of books sucks and not to the point :(

Thanks you alot in advance :D