bestcourses is supported by learners. When you buy through links on our website, we may earn an affiliate commission. Learn more

Part B - Network Protocol Development in C ( from Scratch )

Network Coding Project for Network Core Developers, Linux, System Programming, Operating systems, Projects in C/C++

5 / 5.0
265 students8 hours 13 minutes

Created by Abhishek CSEPracticals, offered on Udemy

bestcourses score™

Student feedback


To make sure that we score courses properly, we pay a lot of attention to the reviews students leave on courses and how many students are taking a course in the first place. This course has a total of 265 students which left 3 reviews at an average rating of 5, which is average.

Course length


We analyze course length to see if courses cover all important aspects of a topic, taking into account how long the course is compared to the category average. This course has a length of 8 hours 13 minutes, which is pretty short. This might not be a bad thing, but we've found that longer courses are often more detailed & comprehensive. The average course length for this entire category is 5 hours 59 minutes.

Overall score


This course currently has a bestcourses score of 5.5/10, which makes it an average course. Overall, there are probably better courses available for this topic on our platform.


First of all Congratulations on completing the Part-A of this Course in which we develop the Adjacency Mgmt feature of the protocol. I hope you enjoyed and had a great learning. You must be Feeling confident in developing timer-based state machines now?

And here starts a new challenge when we enter into Phase 2 of the Project - Link State Database Mgmt. Every Router will use its Adjacency Objects sitting on an interface to build its local Link State Database. But the challenge is - every router has to share its own local copy of the link-state database ( LSDB )  with every other router in the topology running ISIS protocol so that every router has a coherent and common view of the IGP topology. This is what is the end goal of this phase of the project.

This full course series is divided into 3 parts - Part A, Part B, and Part C out of which Part A and B are Live, and Part C is under Development as of 21 Dec 2021.

Once again we shall cover all required theories and concepts before we hit the keyboard for implementation. The three main concepts we shall going to implement in this installment of the course are :

1. Concept of Packet Flooding

2. Building of Link State Database

3. Link State Database Synchronization

We shall continue to use Timers as phase 2 is also heavily dependent on timers to achieve its goals. In addition to timers, we shall also get to introduce to the world of Asynchronous programming through this project.

Continue to Challenge yourself by doing more of such projects and you will not even realize that you have already transformed yourself into a 10x Developer.

Project Goals

The AIM of this project is to cycle you through the experience of end-to-end implementation of a typical network protocol. In this case study, we have chosen a routing protocol as an example, but the high-level logistics involved to implement a typical network protocol are more or less the same. For example, a typical network protocol has to:

  1. Configurable via CLIs

  2. Show internal states and results through show CLIs

  3. Respond to generic configuration changes ( such as link shut-down, IP Address on interface change, etc)

  4. Compute results and install the results in Tables (Routing Information Base, MAC Tables, hardware Tables, etc )

  5. Respond to Topological Changes (link failures, device failures, etc )

  6. Time-out stale Data structures if any.

  7. Periodically Generate Or Process Protocol packet

  8. How to add a new feature to the existing working Protocol Codebase. (This is what you shall be doing all your life as a software engineer !!)

Since the project is quite big (I am expecting around 10k LOCs), you would also get the opportunity to learn how to :

  1. Organize the code in header and src files

  2. Modularize the codebase: How to keep the code of different features in different src files

  3. Testing the new feature, and cross-check it doesn’t break existing features

  4. Maintain Code Commits through Version control system ( Github in this case )

  5. Bug Fixing, and exercising various debugging techniques (gdb, Valgrind, etc )

Needless to say, you Can’t exercise the above points unless you do a project of considerable size.

What you will learn

  • Understand how Network Protocols are implemented on Network Devices
  • Packet processing, Update protocol data structures through packets processing
  • Debugging and troubleshoot code to resolve issues
  • Implement new features incrementally
  • Implement complex protocol state machines and Network Algorithms
  • The AIM of this project is to cycle you through the experience of end-to-end implementation of a typical network protocol


  • Must have Completed Part A of the Course
Udemy logo
Available on


With almost 200,000 courses and close to 50 million students, Udemy is one of the most visited online learning platforms. Popular topics include software development, the digital economy, but also more traditional topics like cooking and music.

Frequently asked questions

  • Price: $19.99
  • Platform: Udemy
  • Language: English
  • 8 hours 13 minutes
Part B - Network Protocol Development in C ( from Scratch ) thumbnail

bestcourses score: 5.5/10

There might be better courses available for this topic.