Marshalling is a mediator process by which DCOM client and server exchange their parameters. DCOM framework components stays in between client and server to help in exchanging calling parameters.
DCOM client and server can be in same host or in different host on a network. Now this Marshalling process has to be generic so that it can work uniformly in local host as well as between two hosts in a network.
Calling parameters are serialized to a byte stream so that it can be transported to the other side. It is again de-serialized and formed as parameters when it reached to to other side.
Local procedure call or LPC mechanism is used when client and server are in same host. LPC uses interprocess communications as a transport layer.
Remote procedure call or RPC mechanism is used when client and server are in different host in a network. This transport layer is purely over TCP/IP and remote socket is used.
Exchange of standard types like char, short, int, long, float/double are easy and they are done with coping the memory with size of the type to the byte stream.
Exchange of array, dynamic buffer and strings are more complex. They are transported with some header which will contain size and metadata of the payload buffer.
Payload buffer will be appended after the header.
You have viewed 1 page out of 66. Your COM/DCOM learning is 0.00% complete. Login to check your learning progress.
Similar topics related to this section
COM DCOM Interview Questions and Answers :: ALL Interview .com
COM DCOM - COM DCOM Interview Questions
COM interview questions | TechInterviews
COM Interview Questions - CodeProject
Com Dcom Interview Questions - Com and Dcom in Asp Net
ATL Interview Questions and Answers :: ALL Interview .com
ActiveX Interview Questions and Answers :: ALL Interview .com
| #1 webmaster Sat 03 May/2014 01:14:35(GMT) || 0 || 0|
We are pleased to inform you that a forum/blog has been incorporated with www.mybestnotes.co.in. You are welcomed to add your comments, requests, codes, solutions and feedback to it. Please login(if already a member) or signup(for free) to avail to this facility.
Your message goes here: