EQuestionAnswers.com Computer/Electronics Questions and Answers
C, C++, VC++, COM/DCOM, DLL and more
#Login #Sign up  Facebook Twitter TGoogle+

#Previous question #Index of COM/DCOM Questions #Next question

DCOM Marshalling

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.

Communication layer

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.

DCOM Marshalling and Communication layer

Parameter exchange

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.

 Vote 0

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)  Like 0 Unlike 0

Dear Users,

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:

My Post:*
Secutiry Code: ******  *
Preview this compose before posting this in discussion forum.
  1. Use [Sxx] code to show smiles. Example [S02]
  2. Use [URL ], example [URL http://www.google.com/]
  3. To display code or un formatted text use [CODE] [/CODE]. Example: [CODE] printf("Hello world"); [/CODE]
 [S01]   [S02]   [S03]   [S04]   [S05]   [S06]   [S07]   [S08] 
 [S09]   [S10]   [S11]   [S12]   [S13]   [S14]   [S15]   [S16] 
 [S17]   [S18]   [S19]   [S20]   [S21]   [S22]   [S23]   [S24] 

Note: Only members are allowed, * fields are mandatory.