Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


iGetConState Return Values

Keywords: 	  iGetConState

Question:

iGetConState(1) is returning an unknown value. When I run it on a Win95B system with a LAN connection, I'm getting a return value of 6 which is not listed in the help file for return values. Thanks for the help.

Answer:

Value description
1 INTERNET_CONNECTION_MODEM Local system uses a modem to connect to the Internet. 
2 INTERNET_CONNECTION_LAN Local system uses a local area network to connect to the
Internet. 
4 INTERNET_CONNECTION_PROXY Local system uses a proxy server to connect to the Internet. 
8 INTERNET_CONNECTION_MODEM_BUSY Local system's modem is busy with a non-Internet
connection.
6 is 4 plus 2 Thus the computer is using a LAN and a proxy server to connect to the Internet.
Article ID:   W12598
Filename:   iGetConState Return Values.txt