|
-
Dec 3rd, 1999, 01:42 PM
#1
Thread Starter
Addicted Member
Can Someone Help Me With this Problem?
When I'm online and I use the file winipcfg to find my IP Adrress I get a value such as
"152.175.235.164" - which I know is Correct.
But in vb when I use for example :
Winock1.LocalIP I get a value such as
"4.9.97.70"
What can use or what can I do to get the value such as "152.175.235.164"
Thanks,
OmarSwan.
------------------
OmarSwan
Student
[email protected]
"Jesus Lives"
-
Dec 3rd, 1999, 06:16 PM
#2
Addicted Member
What the Winsock control is doing is getting your static IP address, which is the one set in the Network Properties (from Control Panel).
I tried all the examples of getting an IP addr that I had, and they all returned the network IP address.
------------------
"To the glory of God!"
-
Dec 5th, 1999, 12:02 PM
#3
It might have to do with the "Subnet Mask". If you go to a DOS prompt and type "ipconfig", you'll see this. Maybe that will put you in the right direction.
[This message has been edited by VirtuallyVB (edited 12-05-1999).]
-
Dec 6th, 1999, 01:24 AM
#4
Addicted Member
I see the problem, but I don't know how to fix it! The Winsock (or whatever you are using) is returning the IP address of your ethernet adapted and not your modem! How you get around this I don't know.
------------------
"To the glory of God!"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|