[Fwd: Re: STREAMS _I_CMD and pfiles TLI support [PSARC/2008/265 FastTrack timeout 04/23/2008]]
Erik Nordmark
erik.nordmark at sun.com
Mon Apr 21 13:41:57 PDT 2008
Peter Memishian wrote:
> > Is there any intent to eventually move these TLI uses over to sockets?
>
> Certainly, but inertia is hard to overcome.
It is probably a bit more than just inertia. I suspect most if not all
of the applications are RPC applications. Such applications end up using
TLI because that it how TI-RPC was designed and we document this fact.
For instance, we have APIs like svc_tli_create and clnt_tli_create which
allows the application to pass in a TLI endpoint.
We also document the xp_fd field, but for that we (no longer) seem to
explicitly say it is a TLI endpoint.
I would be nice if we could
- Add sockets as an interface under the RPC library akin to how we
have added door support
- If possible switch the generic clnt_create and svc_create to use sockets
- If possible deprecate svc_tli_create and clnt_tli_create.
Erik
More information about the opensolaris-arc
mailing list