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.