udt4twisted /

Filename Size Date modified Message
examples
tests
twisted
udt4twisted
35 B
34.3 KB
13 B
891 B
1.6 KB

Summary

This package provides integration of udt as a transport protocol in twisted. It works by replacing the default epoll reactor with a modified one. Also, it provides top-level api(taken mostly from tcp.py) for listening and connecting to udt transports.

Usage

  1. Basically use it like you will use TCP in twisted, but all sockets will be in SOCK_DGRAM mode only. Also write() has ttl and inorder options.
  2. Check examples/
  3. When using twistd or trial, put: -r udtepoll

Prerequisites

  1. PyUDT
  2. twisted

Notes

  1. Tests from twisted pass only in internet/ and protocol/, for the others they just seem to "hang" (something to do with flags, probably)
  2. More options related purely to udt should be included.(e.g. controlling socket creation, buffers, timeouts)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.