From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111308,faec66751519ccd8 X-Google-Attributes: gid111308,public X-Google-Thread: f678f,7af7a93077cf9f6d,start X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-08-12 12:46:35 PST Xref: gmd.de comp.client-server:1022 comp.unix.osf.misc:393 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!bloom-beacon.mit.edu!paperboy.osf.org!rsalz From: rsalz@osf.org (Rich Salz) Newsgroups: comp.client-server,comp.unix.osf.misc Subject: Re: client death Followup-To: comp.unix.osf.misc Date: 12 Aug 1993 19:20:04 GMT Organization: Open Software Foundation Message-ID: <24e554$449@paperboy.osf.org> References: <8539@bacon.IMSI.COM> NNTP-Posting-Host: sulphur.osf.org Unlike other RPC systems, DCE makes it easy to do both stateful and stateless RPC programming. In the stateless world you get a data structure created on the server side that represents some state that you want to associate with the server. When the client dies (either detected by TCP keep-alives or by DCE library ping calls), the server gets told and is given a chance to clean up the state. There are many environments where this will not meet your needs; there are many places where it will. DCE hides the underlying network; most programmers will never know if they are running over TCP, UDP, SNA, OSI, shared memory, or carrier pigeon. Designing an "are you alive" control that meets everyone's needs and that is fairly independant of protocol is hard to do. It's probably impossible. You don't have to use the "tell me about client death" stuff, however. It only comes for free when you explicit state in your IDL file that the server maintains state that could need to be cleaned up. If you don't make that statement, then you are free to implement whatever application-specific "he's dead, Jim" kind of protocol you want. Hope this makes things more clear. Note the Followup-To header. /r$