RPC programming in C using RPCGEN on Ubuntu OS

preview_player
Показать описание
This video demonstrates simple example of addition of two numbers by Remote Procedure Call on Client Server Architecture using C language and RPCBIND. Ubuntu OS is used via virtual box.
Рекомендации по теме
Комментарии
Автор

That was a lifesaver. I'm VERY bad at using C, yet I understood how an RPC works perfectly thanks to you. Thanks a lot!

compteyoutube
Автор

Wow! Useful and helpful! Magic words "rpcgen -a -C add.x", based on the add.x file shown at 02:45
Thank you!

blablamannetje
Автор

You made me remeber how this worked, buddy. A great hug is sent wherever you are.

jesua_chvgar
Автор

Thanks a lot Kashif. If I had not seen this video, I would have wandered forever in some other direction.

PrashantMarshal
Автор

A great resource to understand the RPC class of GIOS OMSCS

camuflagehugo
Автор

4 years later still this tutorial works 💪

shinigamiryuk
Автор

ultimate brother...i am agree that you are the J.Bond 007...

veekysoft
Автор

thank you. this is helpful for me a fresh guy. I'm wondering do you have a callback example and parameter (data) updated by server side.

arca-craigdyan-liu
Автор

bro when i execute the make -f MakeFile.add command
it fails and gives:

In file included from add_clnt.c:7:

add.h:9:10: fatal error: rpc/rpc.h: No such file or directory

9 | #include <rpc/rpc.h>

|
compilation terminated.

make: *** [<builtin>: add_clnt.o] Error 1


please help

ameyawarade
Автор

Thank you! This is such a great tutorial. very simple and well worded too.

rohitbhat
Автор

thanks man just what i needed.. cheers!

ShubhamSingh-cbnl
Автор

Why exactly do you type "Number Number" at 7:16?

vatsalguruvayurappan
Автор

I am able to run it completely fine, only issue is that I can't see any printf output on the server side, any idea?

yashendragoyal
Автор

0:56 after rpcinfo, I get output as "can't contact rpcbind". I have installed rpcbind. And I'm trying this using ubuntu shell in windows 10. Help will be appreciated!

hrishikeshsinghmoirangthem
Автор

This was very helpful! Well-made video

vicd
Автор

Actually my sever is not responding! There is no synchronization between client and sever! How to overcome this issue? Thanks

azathhussain
Автор

Hi, Thanks a lot for this.. Could u plz share the sources u referred? I would want to know specifically about how those files are generated automatically..

Mansoor-qfmw
Автор

What do i need to do to run your program through TCP protocol? Thank you.

dashayad
Автор

Sir sudo: ./add_server: command not found Error is coming any solution?

HarshilWadiwala-bxej
Автор

hello,
Can anyone help me to resolve below issue.
when I'm using the command sudo ./add_server I'm getting below error as

sudo: ./add_server: command not found.

mehulganjude
join shbcf.ru