How do I determine all of my IP addresses when I have multiple NICs?
- by Wilson Fowlie
I have multiple Network Interface Cards on my computer, each with its own IP address.
When I use gethostbyname(gethostname()) from Python's (built-in) socket module, it will only return one of them. How do I get the others?