VC Remote Node id number

By id=qnx_name_locate(0,"/task_name",…) I received the virtual curcuit id
number, if
“task_name” registered on remote node with global name.

How can I determine remote node number?

Or: by which qnx_*() function can I get output like

$sin vc

Are there free source code of QNX4 sin utility anywhere?

Thank you.

Leonid Khait wrote:

By id=qnx_name_locate(0,"/task_name",…) I received the virtual curcuit id
number, if
“task_name” registered on remote node with global name.

How can I determine remote node number?

qnx_psinfo( PROC_PID, id, &psdata, 0, NULL );
node = psdata.un.vproc.remote_nid;

Thanks a lot, Wojtek!

“Wojtek Lerch” <Wojtek_L@yahoo.ca> ???/??? ? ??? ???:
news:dtngof$sgo$1@inn.qnx.com

Leonid Khait wrote:
By id=qnx_name_locate(0,"/task_name",…) I received the virtual curcuit
id number, if
“task_name” registered on remote node with global name.

How can I determine remote node number?

qnx_psinfo( PROC_PID, id, &psdata, 0, NULL );
node = psdata.un.vproc.remote_nid;