The Cascade NameServer (nserve) is a necessary part of a system using the IP_* functions. Its purpose is to map a node, a process ID, and (in QNX 6) a channel ID, to a process name. A program that uses the Cogent IP_* library functions will normally declare a name with nserve in order to advertise its presence. nserve also carries a queue name for asynchronous communication, and a Cascade DataHub domain name where applicable.
For more information on nserve see: The Cascade NameServer chapter of this manual.
IP_NserveInit - creates a task structure and informs nserve.
IP_NserveInitMyself - declares current task structure information to nserve.
IP_NservePackTaskInfo - makes a Lisp-parseable version of task information.
IP_NserveLookup - fills in a known task structure.
IP_NserveLookupId - finds a task by node, process and channel ID.
IP_NserveLookupName - allocates and fills in a new task structure.
IP_NserveAdd - adds an entry to nserve.
IP_NserveRemove - removes an entry from nserve
IP_NserveReattach - closes and renews all task connections and queues.
IP_NserveClose - closes the channel to nserve.
IP_NserveSetDomain - changes a task's domain name.
IP_NserveQueryNameCount - gives the number of registered names.
IP_NserveQueryNames - fills an array with nserve's names.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.