Jürgen Kareta wrote:

>Hi Tim,
>
>the win32api call  GetIPAddrTable could be helpful. See:
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iphlp/iphlp/getipaddrtable.asp.
>Unfortual it is currently not implemented in pywin. CTypes should be an 
>option.
>  
>

I was able to get that work with ctypes, but it still doesn't identify
which adapter owns the IP address.  However, your MSDN pointer led me to
GetAdapterAddresses, which does seem to have all of the information I
want.  Unfortunately, it returns an intertwined linked list of linked
lists, which is a bear in ctypes, so I may just fall back to C++ for this...

Good information.  Thanks!

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to