I'd like to know if (and how) it is possible to find out how many NIC's are
in a server, and what their IP adresses are. I've tried Winsock's LocalIP
but it always returns only one IP (192.168.0.1). This is of the first
adapter in the Adapters list on my server, and I've already learned this
result is OK. But how do I tell the LocalIP function to fetch the IP of the
2nd (and 3rd etc...) NIC in my server? I'm programming in VB6
I'd like to have a function like this:
Dim n,t as integer
n=NumberOfNics
For t=0 to n
debug.print Wsock.LocalIP(t)
Next t
This doesn't work, and I know it is a lot harder to code. This is just to
make clear what I'm trying to do. I've tried at least a thousand ways
(errr)... Calling API's, searching the net and MSDN, newsgroups, "VB Pro's"
etc.. etc... I'd really like to get a answer to this question. I know it
must be possible, so please help?
Any comments, solutions, suggestions and even flames are welcome at
R...@Limburg.demon.nl
Thank you very much....