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.
Printable View
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.
Do you mean the IP addresses of all network adapters?
It's in the Winsock API somewhere. Check MSDN / planetsourcecode for more details.
msgbox Winsock.Localip
the api one is about 100 lines, I like the one liner
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.
Woops, sorry ;)
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. :(