Skip to main content

An UDT4 integration package for twisted.

Project description

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)

  3. UDT does not provide separate error events, instead these will be catched on an attempt read or write. This means that connectionLost will NOT be called as soon as the connection is lost for example.

  4. It is highly recommended to use the latest revision at the udt-git repo https://sourceforge.net/p/udt/git/ (if it doesn’t break compatibility with PyUDT).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

udt4twisted-0.2.6.tar.gz (13.9 kB view details)

Uploaded Source

File details

Details for the file udt4twisted-0.2.6.tar.gz.

File metadata

  • Download URL: udt4twisted-0.2.6.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for udt4twisted-0.2.6.tar.gz
Algorithm Hash digest
SHA256 a944226f3658bdacdd96ad2c4cd4f6486c6ef6e2da9ddfe7549e650daae818ec
MD5 84cb13ef087ef284192b48b880dcc0fe
BLAKE2b-256 87c7bb1e7543df7311addc73c044124bce63abc31ac1ba98c2d5552bdc7241d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page