Skip to content

a3X3k/RPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RPC

Installation

sudo apt-get install rpcbind

After Successful Installation

rpcinfo

image

Creating Calculator Program

struct numbers
{
	int a;
	int b;
	int c;
};

program CALC_PROGRAM
{
	version CALC_VERS
	{
		int calc(numbers) = 1;
	} = 1;	

} = 0x23451111;

Compile

rpcgen -a -C calc.x
  • Using make command, create all other files that are necessary as per the RPC Structure.
make -f Makefile.calc
  • Make required modifications to Client and Server files that are created.

Run Server

sudo ./calc.server

Run Client

sudo ./calc.client localhost <Arguments>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published