1

I am trying to implement RPC using C# and was looking around for examples but couldn't find even a hello world example(similar to http://docs.oracle.com/javase/1.5.0/docs/guide/rmi/hello/hello-world.html)

JAVA seems to be the popular choice but since I have some experience coding in C# (none in JAVA) thought about trying it out in C#.

Can someone please provide some pointers on how to start socket/rpc programming in C#.

dove
  • 20,469
  • 14
  • 82
  • 108

2 Answers2

2

This link is a bit old but should give you the basic idea's. I found it usual a year or so ago. Introduction to RPC The example is writtien in C++ but you should be able to rewrite it to C#.

zeencat
  • 589
  • 1
  • 5
  • 26
0

Check out this other thread using WCF. In the end WCF is more flexible and is not just limited to XML, but you can do JSON and SOAP to inter operate with other paltforms. And using the Visual Studio standard project templates, its a no brainer.

Community
  • 1
  • 1
Juan Ayala
  • 3,388
  • 2
  • 19
  • 24