What is my ip address?

Probably an easy one, but I cannot find it in the documentation… I have turned on DHCP and it is requesting and getting an address. What system call or variable can return this address? I’ve found the DhcpNowBound call and I could cache this value, but I wondered if there was a way of retrieving it on demand as DhcpNowBound would not be called if there was a static ip address. Thanks, Martin

See in the file dhcpstub.c Function void DhcpNowBound(unsigned long ipAddr, unsigned long mask, unsigned long gateway) This is a callback function. Can be included from your application. Have a Nice day !