LukaS
1
Hello QNX-world!
I make some code with use ConnetcAttach() etc. This functions working with
node parameter (of ‘uint32_t’ type).
My problem is:
What I have to do to know about all working (actually) nodes? I want to list
all node descriptors. Is there any C function?
I know that, when I run on new host then the new node name is registering
(for example 3, then 4 etc.), but I want to know how many hosts are running.
Thank you for all help!
Student’s Computer Science Community inFORMAT
www.inFORMAT.po.opole.pl
Technical University of Opole
www.po.opole.pl
POLAND
LukaS <zebr@atol.com.pl> wrote:
Hello QNX-world!
I make some code with use ConnetcAttach() etc. This functions working with
node parameter (of ‘uint32_t’ type).
My problem is:
What I have to do to know about all working (actually) nodes? I want to list
all node descriptors. Is there any C function?
Look at netmgr_strtond() function. You can readdir() from the
“/net” to scane down all the node names.
-xtang
I know that, when I run on new host then the new node name is registering
(for example 3, then 4 etc.), but I want to know how many hosts are running.
Thank you for all help!
Student’s Computer Science Community inFORMAT
www.inFORMAT.po.opole.pl
Technical University of Opole
www.po.opole.pl
POLAND