From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,62d081577b81ba2a X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-08-12 15:10:37 PST Path: gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!uunet!gossip.pyramid.com!sword.eng.pyramid.com!beare-mac.eng.pyramid.com!user From: bjb@pyramid.com (Bruce Beare) Newsgroups: comp.unix.osf.misc Subject: Re: Can I pass strings over a DCE pipe? Followup-To: comp.unix.osf.misc Date: 12 Aug 1993 21:52:49 GMT Organization: Pyramid Technology Message-ID: References: NNTP-Posting-Host: beare-mac.eng.pyramid.com In article , larry@austin.ibm.com (Larry L. Buickel) wrote: > > I'd like to pass char arrays defined using [string] over an > RPC pipe. Since the entire array is not passed, only up to > the \000, does that implicitly make it a conformant array? > Conformant types are explicity excluded as types that can > be used with an RPC pipe. Can I do it? Thanks ... > > Larry B No problem there. Just treat the pipe as a byte stream, the following should do it. Of course -- in this case, the client would have to know that a string is comming. data->push(data->state, buf, strlen(buf)+1); data->push(data->state, NULL, 0); --------------- Bruce Beare bjb@pyramid.com