Hi
I think you can try the function ifcfg_get_ip
/*FUNCTION*--------------------------------------------------------------
*
* Function Name : ipcfg_get_ip()
* Returned Value : TRUE and IP, mask and gateway, if successful
* Comments : Returns actual ip information from DHCP response, if any.
*
*END--------------------------------------------------------------------*/
Regards
Daniel