P2PD Learning Portal
Contents
- The problem with P2P networking
- How P2PD works
- The P2PD REST API
- Using P2PD from Python
- Basics
- Pipes
- TCP echo server example
- UDP await example
- Pipe methods
- def subscribe(self, sub=SUB_ALL, handler=None)
- def unsubscribe(self, sub)
- async def recv(self, sub=SUB_ALL, timeout=2, full=False)
- async def send(self, data, dest_tup=None)
- def add_msg_cb(self, msg_cb)
- def del_msg_cb(self, msg_cb)
- def add_end_cb(self, end_cb)
- def del_end_cb(self, end_cb)
- def add_pipe(self, pipe)
- def del_pipe(self, pipe)
- async def close(self)
- Additional pipe options
- Queues
- Daemons
- Examples
- Awesome stuff built with P2PD
- Future work