dhcp client api for qnx

Hi,

I wish to create an application that request ip from a dhcp server, monitor the dhcp lease and renews it before it expires. I would prefer not to use spawn/system to start dhcp.client; if there is a resource manager interface of dhcp.client. I looked up in the QNX Documentation and couldn’t find any references for an API to dhcp.client.

Does any one know if such kind of API exist; if not inherent to QNX; are there any other open source libraries that can be used?

Thanks

Not that I know of, but you could get the source of dhcp.client and adapt it for your own need.