From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: f678f,531d3d56b5c56f91,start X-Google-Attributes: gidf678f,public X-Google-Thread: f66ab,531d3d56b5c56f91,start X-Google-Attributes: gidf66ab,public X-Google-Thread: fee84,531d3d56b5c56f91,start X-Google-Attributes: gidfee84,public From: Roland Bless Subject: Help! Portnameserver for Mach-Ports? Date: 1996/09/20 Message-ID: <32425C7D.167E@telematik.informatik.uni-karlsruhe.de>#1/1 X-Deja-AN: 184127990 content-type: text/plain; charset=iso-8859-1 organization: Institute of Telematics, University of Karlsruhe, F.R. of Germany mime-version: 1.0 newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc,comp.os.mach x-mailer: Mozilla 3.0b6Gold (X11; I; OSF1 V4.0 alpha) 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