Click here to Skip to main content
15,884,983 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Hi all,

I am creating one application of Remote Procedure Call where i have passed a string
but i am still not able to pass a Structure between client and server.
Please can anyone help me...

Thanks,
Kunal Shah
Posted
Updated 18-Jul-12 0:10am
v2
Comments
aLcoHolicDevil 18-Jul-12 6:11am    
Sorry??

RPC comes in many flavours. You can use TAO[^] which is an excellent implementation of the CORBA[^] specification - and a wide range of examples are included with the download.

Then there is DCE RPC[^], and a variant of DCE RPC is included with Windows[^] - you will find that a number of examples are included with the SDK[^]

Best regards
Espen Harlinn
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 22-Jul-12 14:43pm    
Did you mean to say "comes in many flavors?
Good ideas, my 5.
--SA
Espen Harlinn 22-Jul-12 14:45pm    
I may inadvertently left out the n, thanks Sergey :-D
Try to pass an IStream pointer
after the writing of the structure into its content :)

See also: Transferring Data with Stream Objects[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900