|
-
Aug 21st, 2000, 03:57 PM
#1
Thread Starter
Lively Member
How do I get all IP address of the current machine?
I tried being lazy and using the inet control with the .hostip but obvioius that only returns one address.
-
Aug 21st, 2000, 04:31 PM
#2
Monday Morning Lunatic
Do you mean the IP addresses of all network adapters?
It's in the Winsock API somewhere. Check MSDN / planetsourcecode for more details.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 21st, 2000, 04:50 PM
#3
Frenzied Member
msgbox Winsock.Localip
the api one is about 100 lines, I like the one liner
-
Aug 21st, 2000, 05:37 PM
#4
Thread Starter
Lively Member
Parskie, a network adapater is just that.. a "channel" of where information goes, this can be a physical NIC or a virtual dr like a DUN connection (PPP ADAPTER).. I will look for the code..
Steve: Learn to read the msg in full before replying.
-
Aug 21st, 2000, 05:44 PM
#5
Frenzied Member
Woops, sorry
-
Aug 21st, 2000, 08:49 PM
#6
Frenzied Member
Okay Im going to take another shot at this...you can have a small program on each machine that figures out its own IP address and sends it to every other machine on the network. Really sorry If this still doesn't help you.
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
|