Hi

I am trying to find a status of my connection. Simply i want to show users IP when connection is established.
Is it enough to use InternetGetConnectedState or i need more? And one more question...is InternetGetConnectedState
works with ISDN,ADSL and ... or only with modem and LAN connections?

Thank you

stanks
Posted on 2001-08-13 13:29:57 by stanks
umm I'm working on something similar and InternetGetConnectedState seemes to be a total b***h to work with... it's supposed to work on any kind of connection but it always returns false even though i know i'm connceted to the network... but as said it should work with any connection and as far as i know it's the only one you need to find out if you're connected but as for the IP i think you need a couple of of others...
Posted on 2001-08-14 03:02:27 by NervGaz
In the Name of Allah...


Below is the link to an article where you can find some useful information about the undocumented winsock function named WSControl:

http://www.phekda.freeserve.co.uk/richdawe/dl/ipdata.txt

You can use this function to get your IP address.

Beg
Posted on 2001-08-23 18:37:07 by Beg