OK if successful, otherwise
(error "attachNS DR_ERR_ATTACH_NAMESERVER (time) Could not attach to nameserver")
To communicate with the driver from the Cogent C API (see DR_ApiInitIPC in the Cogent C API manual), you must publish the driver name to the Cascade NameServer (nserve). The driver automatically makes itself known to the Cascade NameServer using either the default name (dr/dvn) or the name specified by the driver command line option (-n).
The attachNS command allows an alternate (additional) name to be published, if desired. The driver can publish multiple names by invoking this command multiple times.
This command is normally invoked from the configuration file.
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.