Hello, today i got a problem writing code....

i need to determine all the IP addresses on a computer, on my case i have 2 NICs and a DUN connection to my ISP, i need to get the address of each conection DUN and 1 NIC get it address by DHCP the other one is fixed, but when i use a winsock and try to use .LocalIp it only returns the first NIC IP (the fixed one) and i need to receive requests from the two LANs connected by the NICs and some of them redirect to the DUN connection.... how can I get all those IPs?

thanx in advance to everyone...