Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote Procedure Call Application Help.

Status
Not open for further replies.

Xmen21cn

Programmer
Apr 13, 2003
1
US
Hello everyone,

I am wondering whether there's any sample or reference for microsoft window rpc talking to rpc on linux(Maybe DCE?). Could you please give me some instruction for the implementation details.

Thanks a lot!

 
MS Windows RPCs and Linux RPCs are two different things: they can't talk.

MS RPCs are based on DCOM or COM+ which is MS's CORBA look alike. Basically, there is an IDL which defines the interface etc. It only works on NT/2K/XP. It won't work on 9X/ME. Anyway, you probably know more about DCOM than I do (most people do).

Linux RPCs are completely different. I've never tried Linux RPCs over a network. I can't tell you whether they will work or not. I know they work locally. Anyway, the definition is similar to the one on Appolo/Xerox. RPCs are a real pain to debug.

I don't know if the Windows emulators on Linux support MS RPCs.
 
It's been some time since i did any RPC work but i do remember using RPC interfaces between Windows NT4 and Solaris back in 1996. I know it' not Linux but maybe this indicates that it is possible.

I remember that the main problem was the difference of data marshalling between the two systems as xwb mentions. The solution was to take control of the marshalling on the NT side so as to match what the Solaris system sent and expected. I am sorry I am not able to recall greater detail.

If you have the choice, using Sockets would be much simpler.

-pete


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top