* Can I pass strings over a DCE pipe?
@ 1993-08-11 18:54 Larry L. Buickel
1993-08-12 21:52 ` Bruce Beare
0 siblings, 1 reply; 2+ messages in thread
From: Larry L. Buickel @ 1993-08-11 18:54 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can I pass strings over a DCE pipe?
1993-08-11 18:54 Can I pass strings over a DCE pipe? Larry L. Buickel
@ 1993-08-12 21:52 ` Bruce Beare
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Beare @ 1993-08-12 21:52 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1993-08-12 21:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-08-11 18:54 Can I pass strings over a DCE pipe? Larry L. Buickel
1993-08-12 21:52 ` Bruce Beare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox