Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RPC in VxWorks

489 views
Skip to first unread message

Ron Huizen

unread,
Mar 26, 2003, 9:17:43 AM3/26/03
to
Does anyone know if VxWorks has any support for Remote Procedure Calls
(as found in Windows and Linux)?

Dimitrios Siganos

unread,
Mar 26, 2003, 1:23:41 PM3/26/03
to
Yes, it does. But they are not officially supported. Have a look at the
VxWorks reference at functions atsrting with "rpc".

You can use a Linux or Solaris rpcgen to generate RPC code. There is
also a version of rpcgen in the unsupported directory that compiles
under cygwin in Windows.

Dimitris

John

unread,
Mar 26, 2003, 1:48:29 PM3/26/03
to
Hello,

> Does anyone know if VxWorks has any support for Remote Procedure Calls
> (as found in Windows and Linux)?

Well, "as found in Windows and Linux" is an odd choice of phrase since
they have totally different schemes for RPC IIRC. As for VxWorks
having RPC support:

1) You get an implementation of Sun's RPC with VxWorks, but it is not
documented since it is really only there for supporting the NFS
client/server code under VxWorks. You can however use the standard Sun
RPC tools (e.g. rpcgen) to generate code that uses the VxWorks RPC
libraries, and you can install the RPC libraries without NFS I believe
too.

2) To work more with the Windows scheme, DCOM, you will need to get
the optional product VxDCOM (assuming that they are still selling
this). DCOM is perhaps a little more than RPC, but it's what Windoze
does ;-)

I don't know if anybody has a free Sun RPC package for Windows, but it
is entirely possible. Try searching the web for it if you are working
on Windows and do not want to buy the DCOM support.

HTH,
John...

=====
Rate Corporate America at http://exec-ratings.bluedonkey.org

Shibasis Ganguly

unread,
Mar 28, 2003, 1:50:26 AM3/28/03
to VxWorks Users Group List
Hi, Ron Huizen,

Vxworks supports RPC implementation.The vxworks implementation of RPC is
task specific.
RPC in vxworks impelements a client server model of task interaction.Each
task must use
rpcTaskInit() before making any rpc related calls.The rpc in trun uses
socket as the communication mechanism.Please have a look into SENS manual of
vxworks for further details.

Thanks & Regards,
Shibasis Ganguly
S/W Developer Real time Group
Rebaca consultant (Pvt) Ltd
Block EP & GP,Sector-V
Salt lake city, calcutta-91.
e-mail: shib...@rebaca.com
phone: +91-33-23577177
webside: www.rebaca.com

_______________________________________________
VxWexplo mailing list
VxWe...@csg.lbl.gov
http://www-csg.lbl.gov/mailman/listinfo/vxwexplo

0 new messages