Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Help! Portnameserver for Mach-Ports?
@ 1996-09-20  4:00 Roland Bless
  0 siblings, 0 replies; only message in thread
From: Roland Bless @ 1996-09-20  4:00 UTC (permalink / 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-09-20  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-20  4:00 Help! Portnameserver for Mach-Ports? Roland Bless

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox