udt4twisted / README.rst


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 for listening and connecting to udt transports.


  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


  1. PyUDT
  2. twisted


  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)