Skip to content
UdemyIT & SoftwarePaid courseIntermediate levelCertificate

Build Remote Procedure Calls (RPC) - from scratch in C (Udemy.com)

System Programming Projects - Server Client RPC Model over a Network Sockets, Data Serialization - Windows/Linux

Created by: Abhishek CSEPracticals

Last updated April 2022

Our take

Based on the ratings of 154 students, a sample of their written reviews and the syllabus, as the course stood in April 2022. No course pays to be reviewed.

Abhishek of CSEPracticals builds a working RPC system in plain C, with no third-party libraries, across 6.2 hours and 65 lectures. Most of the time goes to serialization: turning structs, nested objects and generic data structures into byte streams and back, then sending them over sockets on Linux. It's aimed at people who are already comfortable with C pointers and memory layout. Working developers who use RPC frameworks every day and want to see what happens underneath get the most from it.

Reviewers keep praising the clear diagrams and the way the code walkthroughs back up the theory. One called it better than plenty of college classes. The complaints are specific. Two say it repeats itself and feels stretched. One wanted coverage of real RPC libraries and APIs, and another objected that the deserialization depends on struct members being in a set order and never covers class instances. One student points out that the checkpointing section promised in the description never shipped, and another said questions went unanswered.

The last update was in April 2022, though the C fundamentals haven't aged much. A 4.6 rating from 154 reviews and about 2,300 students make it a well-liked niche pick. It's a good choice for curious C programmers who want to build RPC by hand, as long as they don't expect gRPC, Sun RPC or a production-ready library.

Best forC programmers who use RPC frameworks at work and want to build the serialization and socket plumbing by hand.
Skip it ifYou want to learn gRPC, Sun RPC or another real library, or you are still shaky with C pointers.

Pros

  • Builds RPC from scratch in pure C with no frameworks, so every layer is visible
  • Deep serialization coverage, including nested objects and generic data structures
  • Reviewers like the visual diagrams that explain how data moves between machines
  • Short at 6.2 hours, with code walkthroughs that back up each concept

Cons

  • Checkpointing is promised in the description but was never released
  • No coverage of real-world RPC libraries or APIs, which some reviewers expected
  • Some find it repetitive and stretched out, and say Q&A support is thin
Great course. The RPC concept has been explained very well. Practical examples are excellent.
Zvezdan Simic, a student

Intermediate is accurate. Students need solid C pointers and a Linux setup. Basic socket experience helps but isn't required.

icon
What you will learn

  • Shall be able to build Remote procedure Calls starting from #include
  • Will understand the concept of Data Serialization and DeSerialization
  • Understand the concept of Application state Synchronization
  • Understand the concept of Application State Checkpointing
  • Will understand how to manipulate data objects as stream of bytes
  • Will be able to understand how to manipulate the objects Recursively
  • Will be able to extend and apply the concepts learned in other programming languages
  • Will understand the pre-requistes required for data transmission between heterogeneous machines

Course content

8 sections · 65 lectures · 6.2 hours of video 1 assignment

  1. 1Get Started 1 free preview2 lectures · 3 min
  2. 2Introduction6 lectures · 31 min
  3. 3Concept of Data Serialization and DeSerialization 1 free preview12 lectures · 48 min
  4. 4Data Structure - STREAMS3 lectures · 22 min
  5. 5Serialization and DeSerialization Implementation in C18 lectures · 1 quiz · 1.7 hours
  6. 6Serializing The Generic Data Structures2 lectures · 20 min
  7. 7Implementation of Remote Procedure Calls Infrastructure 3 free previews18 lectures · 1.9 hours
  8. 8Application State Synchronization4 lectures · 29 min

Who it is for

The instructor says it suits

  • Students who want to distinguish themselves from the crowd
  • Professionals looking to advance their career Or switch jobs
  • those Who love Coding and build actual System softwares

What you need before you start

  • C programming language - at-least an intermediate level
  • Minimal Socket programming to the extent to send and receive data is desirable but not mandatory
  • Linux OS, any flavor, - Running as Native or as a VM
  • Most Important tool - Enthusiasm and love for knowledge

How it compares

Against the other 1,160 rated Udemy courses in IT & Software on CourseDuck:

  • Rating4.6 out of 5higher than 68% of them
  • Reviews154#831 of 1,161 by number of reviews
  • Length6.2 hourslonger than 53% of them
  • Last updatedApril 2022earlier than 76% of them

icon
Course Description

About This course is about Developing your own Remote procedure calls - I will use Linux OS for this course, however you can use Windows OS if you are used to it.  The essence and real strength of this course is No use of any third party libraries. I follow this principle in all my other courses. Whatever you learn through my courses, you learn from absolute ground level. This course does not violate the principle and teaches you how to build Remote Procedure Calls step by step from absolute scratch - No framework, tools, supporting libraries or anything - just pure C.

This course actually lays the foundation of many future System Software Projects. Few of which are below and is a part of this course curriculum.

Remote Procedure Calls (RPC) is a technique to invoke the function/procedure which actually resides on different physical machine running somewhere else in the network - hence the name remote procedures. In this course, you will learn the concepts working behind the scenes. The same concepts can be extended to implement other system programming concepts, besides RPC, such as - Data Synchronization and Check-pointing the application state.  This course promise to deliver the complete content on developing RPCs in its initial release.

Data Synchronization - It is a process to synchronize the complete application Heap state to remote machine. The remote machine will build the mirror heap state. In the event, the first machine fails, the remote machine can take over as it has all the state required to resume the operation of failed machine.

Check pointing - It is a process of saving the application Memory state to disk/file persistently, so that, the application can be restarted/resumed any time building the exact same Memory state from Memory snapshot stored earlier to secondary storage.

Check pointing shall be delivered in subsequent releases of this course.


Who should do this course ?

Beginners Please take this course at your discretion. You should be good with C pointers and how C objects are laid out in memory. I expect you to be at-least above beginner level in C programming. This means, that only very enthusiastic students who wants to get an edge over the smartest student in their college should enroll. Average students Pls excuse. Job seekers and professional developers Must enroll. The concepts you learn from this course is language agnostic and having learned them will enable you to implement the RPC/Data-Synch/Checkpointing in any programming language of your choice. If tomorrow you happen to work in Java, you shall be knowing how RPCs work at the lowest level of implementation.


Pre-requisite

C and being good at pointers is a pre-requiste of this course. A minimal socket programming back-ground is desirable but not mandatory. We designed this course starting from absolute basics and building the foundation of learners first before actually pulling the course at full throttle. If you are not good with pointers and memory manipulation in C, Pls enroll only after meeting the pre-requisite criteria.

Also, Please just do not sit and watch my codes. Write your own codes, even if it is same as mine !


Programming Language used In this course :

We have a strong reasons to choose C as a language for this course:

RPC is a technique which if knowing the concepts can be implemented in any programming language of your choice. Learning RPC using C helps you understand what is going on behind the scenes. C language really exposes the low level details about how system actually works. In System programming, C is the only language to be used and there is not even a remote substitute of this language when it comes to System programming.


No Third Party libraries

Whatever logic you implement, you need to implement it from scratch, beginning from #include <stdio.h>. This course do not suggest taking help of any third party library to get the jobs done. Use of external libraries completely defeats the purpose of the course. However, it is recommended to use third party libraries for commonly used data structures such as linked lists/Trees/Queues etc which saves a lot of time implementing these data structures.


Related Courses

RPC is one way of carrying out Inter Process Communication between two processes running on separate machines in the network. You may also want to check my another course in which Linux IPC techniques has been discussed.


Warning : This course has auto system-generated subtitles which may not be perfect. Please disable subtitles as per your convenience.


Curriculum

This Course is divided into two major parts -

1. Understanding the Concept of Serialization and DeSerialization in great detail

2. Using the Serialization and DeSerialization to actually solve/build system. This includes :

  1. Building Remote Procedure Calls

  2. State Synchronization

  3. Check pointing the application state

Section 2, 3, 4, 5, 6 are dedicated to build up the base on thoroughly mastering the concept of Serialization and DeSerialization.

Section 7, 8, 9 are dedicated to build and develop above stated systems


  • Section 1 - Get Started

    • Table Of Contents of the Entire Course

    • Linux Installation for Beginners

  • Section 2 - What is Serialization and Why we need it ?

  • Section 3 - Concept of Data Serialization and DeSerialization

    • Serializing and DeSerializing Simple C Structures

    • Serializing and DeSerializing Nested C Structures

    • Serializing and DeSerializing Pointer C Structures

  • Section 4 - STREAMS - A Data Structure

    • Design and Implementation

  • Section 5 - Data Serialization and DeSerialization Implementation in C

    • Serializing and DeSerializing Simple C Structures

    • Serializing and DeSerializing Nested C Structures

    • Serializing and DeSerializing Pointer C Structures

    • An Example

  • Section 6 - Serializing Generic Data structures

    • Use Function Pointers to Serialize void *

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Abhishek CSEPracticals

I have been engaged with coding and software for a decade now. I am a Networking developer at MNC. My rich working experience is backed by graduation from IIT Bombay as an MTech specialist. I am restless for more in-depth knowledge, and always working out the ways to integrate what I know in practical ways. I am always happy to train and encourage people on Udemy – the next-gen education platform.


I will help you to strengthen the networking concepts and fundamentals in a very practical way. I also hones in System Software Development, Linux System Programming and Network Software Development. I love to create courses on unique non-standard topics, and projects. Check my catalogue, you will find couple of project based courses which you can add to your resume.


You’ll complete assignments and work on a project where you’ll use all the theory. I make sure you build a proper understanding and that you’ll get all the questions and doubts answered. Let me take the privilege to guide you and bring useful additions to your resume !

icon
More courses by Abhishek CSEPracticals

$11.99

Original price $74.9984% off

$11.99

Original price $69.9983% off

$11.99

Original price $79.9985% off

$11.99

Original price $49.9976% off

icon
More IT & Software courses

$11.99

Original price $49.9976% off

$10.99

Original price $49.9978% off

$124.99

$19.99

$11.99

Original price $89.9987% off

$11.99

Original price $84.9986% off

icon
Reviews

4.6

154 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Sachin Hosamani on 11/20/2025

Being an experienced developer, the RPC was already implemented in the codebase. But as you know, we usually do not get into looking at how the implementation is done, unless a bug is detected in that code flow. Although on the top surface it was RPC is all that I knew. I was able to map the missing dots after completing this course. Thank you Abhishek sir.

By Mike Harris on 8/1/2025

Great course from CSEPracticals, you will learn to transfer/exchange data types between systems so each system can reconstruct and know the data types of other systems to interop between them(distributed processing). You will need intermediate to advance level programming knowledge

By Ahmad Saleh on 1/17/2025

Nice and sweet course explain concept of serializtion / deserializtion in excellent way with some applications for usage as usual, outstanding course thanks Abhishek

By Matthew Zito on 7/26/2021

I've learned so much from CSEPracticals courses. This course was no exception. This course covers an extremely useful topic - RPC. I use RPC all the time in as a software developer but I never realized to what extent - turns out, even sending postMessage via one browser window to another is a form of RPC. This course gets into the details, covering how RPC serialization works and more interesting, how two separate machines are able to serialize and deserialize data without information loss. Taking this course will help you get started with writing your own implementation of something like Google's Protocol Buffers. Very cool!

By Zvezdan Simic on 12/18/2020

Great course. The RPC concept has been explained very well. Practical examples are excellent. They follow up and reinforces the theory presented in a great way. I can recommend this course to all interested to understand the RPC topic.

By Dinesh on 8/29/2020

Excellent course, it is well explained with practical use cases. It will be more helpful if you could make a course on Debugging.

By Nick Hall on 8/16/2020

Very imformative course, explained well with descriptive illustrations. As a visual learner, this teacher's teaching style is spot on, and was very helpful for me to learn and understand RPC's more.

By Bagira on 7/31/2019

There are music playing in the background in some videos, and cant hear what instructor is speaking about. Audio of many videos are not clear. Instructor should focus on the audio format or something that students can hear clearly. Overall good course.

By David Fang on 7/16/2019

Great course that explains RPC in details with code walk. Recommend for people who want to sharpen their skills in linux network programming.

By Vasu Srinivasan on 4/2/2019

Unclear communication. Seems like stretching 9 steps into a course. Pretty disappointing. Also, patronizing attitude to questions. Does not give a straight answer to the question asked.

Showing all 10 reviews on CourseDuck

Read all 154 reviews on Udemy

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 92 / 100