qnx_osinfo delays 5 seconds before return

Greetings,

When my program tries to get the status of a remote node (call to qnx_osinfo), if the node is down there is a 5 second delay before the call returns. My question is: what is causing this delay and can it be shortened? At first I was thinking it could have something to do with nameloc polling so I tried changing the timeouts for it but it seemed to have no affect.

Any help is appreciated.

Regards,
Dan

You can change these value with the program netpoll (name from memory) and with arguments to Net. That being said usually this is not a good think to play with this value, you need to know what you are doing.

You can shorten the delay by interrupting the call with a signal, alarm()