The IP of which host? Your localhost or another computer? If it is the local machine, then are you worried about the actual IP of the adapter or your external (WAN) IP address.
If the later (or if your computer is not behind a router and/or firewall) then the following *may* help:
http://www.scrounge.org/ipwatch/