Wednesday, March 25, 2009

Difference between sockets and RPC calls

Both mechanisms are intended for doing similar stuff. There is a difference in the way they are invoked and the way they operate (which can be found in tons of individual tutorials).

However the key point to note is that both mechanisms are still similar. RPC's can be thought of as an abstraction running over sockets. Sockets in turn are a crude transport mechanism (like UDP or TCP) which can be used to send just about anything. RPCs can be thought of as sending formatted information over sockets.

Check out our other post for differences


Post a Comment