Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: Roland Bless <bless@telematik.informatik.uni-karlsruhe.de>
Subject: Help! Portnameserver for Mach-Ports?
Date: 1996/09/20	[thread overview]
Message-ID: <32425C7D.167E@telematik.informatik.uni-karlsruhe.de> (raw)


Hi!

I want to use the Mach Name Server for looking up Mach Ports.
But already at the check in I get the failure:
netname check in: (ipc/send) invalid port

The Code:
  ret= netname_check_in(name_server_port, Port::netname,
                        task_self(), port);
  if (ret != NETNAME_SUCCESS)
  {
    mach_error("netname check in:", ret);
  }

The name_server_port seems to have the value 0.
Because of lacking (on-line) documentation for using the 
Mach IPC under Digital Unix I have the following questions:

* Is name_server_port==0 normal?
* Is there a special program/daemon that I have to start for
  this name lookup service (as far as I understood the name server
  task must already exist before any other task because of the port
  send rights)?

Regards,
 Roland

-- 
Roland Bless -- eMail: bless@telematik.informatik.uni-karlsruhe.de
Institut f�r Telematik, Universit�t Karlsruhe (TH), F.R. of Germany  
Postfach 6980, Zirkel 2, D-76128 Karlsruhe -- Geb. 20.20, Raum 361
Tel.: +49 721 608-3982 Fax: +49 721 388097



                 reply	other threads:[~1996-09-20  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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