- Видео 3
- Просмотров 55 160
Kashif Kaularikar
Добавлен 27 май 2015
Learn, Share, Grow.
Видео
RPC programming in C using RPCGEN on Ubuntu OS
Просмотров 54 тыс.7 лет назад
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.
Taylor Frank Moore Patricia Anderson Jose
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.
Thanks for that!
Sir sudo: ./add_server: command not found ,............. Error is coming any solution?
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
did you solve the error ?
I have the same problem here, anyone solved it?@@Boo12341
Hey if you still know the solution or having a link please provide it here...
I also you'd like to know the answer
what if we had to do a structure withing a structrure ? is there any example of this kind of situation please ?
Thank you dude
make -f Makefile i have fetal error no such file or derctory
thanks Boss
Any idea here guys? make -ltirpc -f Makefile.add cc -g -o add_client add_clnt.o add_client.o add_xdr.o -lnsl /usr/bin/ld: add_clnt.o: in function `add_1': /root/rpc/add_clnt.c:18: undefined reference to `xdr_int' /usr/bin/ld: /root/rpc/add_clnt.c:18: undefined reference to `clnt_call' /usr/bin/ld: add_client.o: in function `add_prog_1': /root/rpc/add_client.c:18: undefined reference to `clnt_create' /usr/bin/ld: /root/rpc/add_client.c:20: undefined reference to `clnt_pcreateerror' /usr/bin/ld: /root/rpc/add_client.c:27: undefined reference to `clnt_perror' /usr/bin/ld: /root/rpc/add_client.c:30: undefined reference to `clnt_destroy' /usr/bin/ld: add_xdr.o: in function `xdr_numbers': /root/rpc/add_xdr.c:13: undefined reference to `xdr_int' /usr/bin/ld: /root/rpc/add_xdr.c:15: undefined reference to `xdr_int' collect2: error: ld returned 1 exit status make: *** [Makefile.add:39: add_client] Error 1
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!
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.
You made me remeber how this worked, buddy. A great hug is sent wherever you are.
A great resource to understand the RPC class of GIOS OMSCS
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..
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?
4 years later still this tutorial works 💪
bohot hard, hats off bro 🔥🔥🔥
Thanks a lot Kashif. If I had not seen this video, I would have wandered forever in some other direction.
Great man..was very helpful
Can I contact you Mr. Kashif for more paid tutorial about rpcgen? my email is vip.sa.2030@gmail.com Thank you!
What do i need to do to run your program through TCP protocol? Thank you.
Thanks a lot dude!
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!
Send snap of error screen
I get the same error ! Please help
Very much helpful, Thanks a lot
Thanks, it was really helpful.
Awesome video! Thanks.
Actually my sever is not responding! There is no synchronization between client and sever! How to overcome this issue? Thanks
how to do the same program on two different systems?
You will compile and run the client part and the server part on two different machines. While running the client part, instead of localhost you will enter the server address.
I am saved!
ultimate brother...i am agree that you are the J.Bond 007...
Thank you! This is such a great tutorial. very simple and well worded too.
thank you very much.......
no words ..u r very helpful man
This was very helpful! Well-made video
Thank you, it's very helpful!
Thank you, this was very helpful!
No files are created in the directory when i use rpcgen why?
sorry i sorted it out nothing is wrong
Wow! Useful and helpful! Magic words "rpcgen -a -C add.x", based on the add.x file shown at 02:45 Thank you!
Why exactly do you type "Number Number" at 7:16?
This guy seems like some Indian university professor 😅
so???
thanks man just what i needed.. cheers!
when a try to install rpcbind i cant sudo: unable to change to root gid : operation not permited sudo: unable to initialized policy plugin what can i do thks for your respense
benrekia chawki i