← All projects
Project record2 mentions
Originally shared on Hacker News

p2pd

A networking library that lets developers manage network interfaces (NICs) and the routes they support without guessing about addressing. It handles edge cases across operating systems and address families, making tasks like 'bind on all local addresses', 'bind publicly', or 'bind on all' easy, and has been used to build software such as NAT traversal. It is a redesign of how networking is done on the Internet, hiding much of the underlying messiness; code quality is still being improved while it is dogfooded with many applications built on it.

Last shared For Developers
01 / The problem

What it addresses

Writing network software that works across machines with multiple NICs or multiple external Internet IPs is hard: simple tasks like binding on all local addresses or binding publicly have edge cases across different OSes and address families, making manual IP management difficult.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. p2pd

    A networking library that lets developers manage network interfaces (NICs) and the routes they support without guessing about addressing. It handles edge cases across operating systems and address families, making tasks like 'bind on all local addresses', 'bind publicly', or 'bind on all' easy, and has been used to build software such as NAT traversal. It is a redesign of how networking is done on the Internet, hiding much of the underlying messiness; code quality is still being improved while it is dogfooded with many applications built on it.

    Problem: Writing network software that works across machines with multiple NICs or multiple external Internet IPs is hard: simple tasks like binding on all local addresses or binding publicly have edge cases across different OSes and address families, making manual IP management difficult.

    Audience: Developers

    Posted by @Uptrenda · Original source ↗

    Source text · @Uptrenda · · Source ↗

    My network software lets devs easily manage NICs and routes they support without guessing about addressing. Additionally, I've written a bunch of software with the library already to do things like NAT traversal. So its really my own redesign of how to do networking on the Internet. Designed to hide a lot of the messiness.
  2. p2pd

    An async Python 3 peer-to-peer networking library designed to create a connection between any two computers. It supports TCP hole punching and other connectivity approaches, is installable via PyPI, ships with a runnable demo, and includes new documentation explaining how it works with diagrams.

    Problem: Establishing a network connection between any two computers.

    Posted by @Uptrenda · Original source ↗

    Source text · @Uptrenda · · Source ↗

    Spent a year improving my p2p networking library. The software is async python 3 and it's designed to solve a simple problem: create a connection between any two computers.