Reliable UDP using NanoPing FEC (video)
This tutorial walks through how to build a minimal, UDP-based client-server application using NanoPing and Forward Erasure Correction (FEC) to increase the reliability of message delivery over lossy networks.
What You’ll Learn
By following this tutorial, you will learn:
- How to set up a NanoPing pipeline using UDP + FEC
- How to enable and test Forward Erasure Correction (FEC) in your transport layer.
- How to run and observe the interaction between the client and server using the NanoPing stack.
This tutorial is ideal for developers looking to quickly test reliability enhancements over UDP, and serves as a minimal example of integrating NanoPing with FEC.
Files
-
ping_server.py
A basic UDP server that listens for messages and responds with"pong"
. -
ping_client.py
A client that sends 100"ping"
messages and waits for"pong"
responses. -
udp_fec_tunnel.json
The NanoPing pipeline configuration that connects the client and server over UDP, using FEC for reliability.