OS: Debian GNU/Linux 11 (bullseye) x86_64
gcc (Debian 10.2.1-6) 10.2.1 20210110
was tested with -g -std=gnu99
- Install rpcgen
- Write stat.x then use rpcgen stat.x to generate stubs
- Write client and server programs
- Install rpcbind
- Run /etc/init.d/rpcbind start
- Use systemctl status rpcbind to check status of rpcbind
- Run make to invoke Makefile
- Run ./server & and ./client localhost value_1 ... value_N (N <= 200)