From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,fe443c8707fa248c X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-05-13 21:49:19 PST Path: bga.com!news.sprintlink.net!hookup!news.moneng.mei.com!sol.ctr.columbia.edu!spool.mu.edu!bloom-beacon.mit.edu!paperboy.osf.org!down.osf.org!wwang From: wwang@down.osf.org (Weidong Wang) Newsgroups: comp.unix.osf.misc Subject: Re: defining multiple interfaces in a server Date: 13 May 1994 13:09:58 GMT Organization: Open Software Foundation Distribution: na Message-ID: <2qvu76$3og@paperboy.osf.org> References: <2qtlo3$qce@falcon.ccs.uwo.ca> NNTP-Posting-Host: down.osf.org In article <2qtlo3$qce@falcon.ccs.uwo.ca>, jwkhong@csd.uwo.ca (James W. Hong) writes: |> This may be a dumb question but I was wondering if someone could tell me |> how I can define multiple interfaces for a single server application. |> Examples I have seen so far only allows a single interface to be defined. |> I am currently using AIX DCE version 1.1. |> |> For example, I want to have an interface for the server application (i.e., |> application interface) and another interface for the management of the server |> (i.e., management interface) in the same server program. Operations in the |> management interface will allow a client to probe about the staus/state of the |> server application. |> |> Any help would be appreciated. |> Just do it. Just as how you set up your first interface (rpc_server_register_if, inq_bindings, register_auth_info, rpc_ep_register, rpc_ns_binding_export, etc), then before you call rpc_server)listen, set up another interface. Then set up your third interface, .... After you are done with interfaces you want, finally you call rpc_server_listen. Weidong Wang DCE Systems Engineering, OSF