From: bjb@pyramid.com (Bruce Beare)
Subject: Re: Can I pass strings over a DCE pipe?
Date: 12 Aug 1993 21:52:49 GMT [thread overview]
Message-ID: <bjb-120893144908@beare-mac.eng.pyramid.com> (raw)
In-Reply-To: CBLz6x.22JD@austin.ibm.com
In article <CBLz6x.22JD@austin.ibm.com>, 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
prev parent reply other threads:[~1993-08-12 21:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-08-11 18:54 Can I pass strings over a DCE pipe? Larry L. Buickel
1993-08-12 21:52 ` Bruce Beare [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox