Sign in to follow this  
Followers 0
wxm

Issue About @IPAddress2

5 posts in this topic

I use this script to display @IPAddress2 every second :

While 1

Sleep(1000)

SplashTextOn("", @IPAddress2)

WEnd

Result in winxp sp3:

Firstly it display "0.0.0.0"

I connect the ADSL , the ip address IMMEDIATELY show up

Disconnect the ADSL , it IMMEDIATELY display "0.0.0.0" back again

Result in win2003 sp2:

First it display "0.0.0.0"

I connect the ADSL , the ip address DO NOT IMMEDIATELY show up , it show up After 15-20sec

Disconnect ADSL , it DO NOT IMMEDIATELY display "0.0.0.0" back again , also 15-20sec Delay .

both use the bulit in PPPOE connection of the OS .

how to get win2003 to work like in winxp?

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Still shown "192.168.1.3" even after disconnect "ADSL+2"

OS=WIN_XP_SP2

Try this >> http://www.autoitscript.com/forum/index.ph...st&p=659218

I think 192.168.1.3 is ur local network adapter

Maybe ur ADSL connection is @IPAddress3

mine is @IPAddress2

when ADSL is connected, @IPAddress2 = dynamic ip of the ADSL

when not connected, @IPAddress2 = 0.0.0.0

the issue is in win2003

when the ADSL switch between connected/not conneted

@IPAddress2 did not refresh immediatly , it has 15-20sec delay

Edited by wxm

Share this post


Link to post
Share on other sites

I think 192.168.1.3 is ur local network adapter

Maybe ur ADSL connection is @IPAddress3

that's what i'm talking about!

Let's say you use "1" lan card on your system, that's good, but what about me " Wireless, LAN, Bluetooth, PPPOE, Hamachi LAN" see attched file

post-30451-1243590372_thumb.jpg

@IPAddress1 of first network adapter. Tends to return 127.0.0.1 on some computers.

@IPAddress2 of second network adapter. Returns 0.0.0.0 if not applicable.

@IPAddress3 of third network adapter. Returns 0.0.0.0 if not applicable.

@IPAddress4 of fourth network adapter. Returns 0.0.0.0 if not applicable.

+++++++++++++++++++++++++++++++++++++++++++++++++++

I think this will help!

Get public IP address of a network/computer.

_GetIP()

Share this post


Link to post
Share on other sites

that's what i'm talking about!

Let's say you use "1" lan card on your system, that's good, but what about me " Wireless, LAN, Bluetooth, PPPOE, Hamachi LAN" see attched file

post-30451-1243590372_thumb.jpg

@IPAddress1 of first network adapter. Tends to return 127.0.0.1 on some computers.

@IPAddress2 of second network adapter. Returns 0.0.0.0 if not applicable.

@IPAddress3 of third network adapter. Returns 0.0.0.0 if not applicable.

@IPAddress4 of fourth network adapter. Returns 0.0.0.0 if not applicable.

+++++++++++++++++++++++++++++++++++++++++++++++++++

I think this will help!

Get public IP address of a network/computer.

_GetIP()

thx

_GetIP() is a way , but not very efficient .

I still want to know why @IPAddressX refresh immediately in winxp/win2000 , but has 15-20 delay in win2003 ...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0