From: Andrew Hastings <abh+@transarc.com>
Subject: Re: DCE: How to get host names
Date: 23 Sep 1994 18:06:59 GMT [thread overview]
Message-ID: <35v5g3$321@cantaloupe.srv.cs.cmu.edu> (raw)
In-Reply-To: JAD.94Sep22133529@pimlico.nsa.hp.com
In article <JAD.94Sep22133529@pimlico.nsa.hp.com> jad@pimlico.nsa.hp.com (John Dilley) writes:
:In article <KAISER.94Sep21160304@slbwf0.bln.sel.alcatel.de> kaiser@slbwf0.bln.sel.alcatel.de (Rajk Kaiser) writes:
:
:> How can I get a list of all hosts configured in a DCE cell (in a program)? Is
:> there an API in DCE (HP DCE 1.2) for this (probably it should be a CDS API)?
:
: The way I would do this from a program is to use popen(3), and
:suffer with the performance problem you noticed (due, presumably, to the
:extra fork() call required to open the pipe). If you want to examine
:contents of a CDS directory directly you have to use the undocumented
:CDSPI... Even if CDSPI were documented, the popen() route is much, much
:simpler.
DCE does have a documented way to query and update CDS: the XDS interface.
It's not for the faint of heart, however. I'd go with the popen suggestion.
I understand that OSF may be offering a more user-friendly interface in
the future.
-Andrew Hastings Transarc
P.S. No, I can't answer any questions about XDS. Read the OSF DCE
Application Development Guide and Application Development Reference.
prev parent reply other threads:[~1994-09-23 18:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <KAISER.94Sep21160304@slbwf0.bln.sel.alcatel.de>
1994-09-22 20:35 ` DCE: How to get host names John Dilley
1994-09-23 18:06 ` Andrew Hastings [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox