We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,408 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

RPC package/rpc function

Ok, what I am trying to do:

A simple RPC package consisting of user-stub and server-stub. The rpc function should:

-create a socket
-request connetction from server
-pack funtion name and input argument into a message body
-send message
-set and unpack reply
-return result and error code

The server-stub receives the message sent by the user-stub, unpacks it and calls the appropriate procedure with all the specified arguments. When it's completed, server-stub will send a reply to the user-stub containing the results.

Do I have to use "winsock library" here? I'm very unfamiliar with all this, but examples I found online used it. I suppose you do for the socket?

1
Contributor
0
Replies
1
View
Torf
Light Poster
41 posts since Jan 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0918 seconds using 2.67MB