Twisted Documentation: Twisted code examples

# Twisted code examples

## Simple Echo server and client

- simpleclient.py
- simpleserv.py

## Chat

- chatserver.py - shows how to communicate between clients

## Echo server & client variants

- echoserv.py - simplest possible TCP server
- echoserv_udp.py - simplest possible UDP server
- echoserv_ssl.py - simple SSL server
- echoclient.py - simple TCP client
- echoclient_udp.py - simple UDP client
- echoclient_ssl.py - simple SSL client

## Perspective Broker

- pbbenchclient.py - benchmarking client
- pbbenchserver.py - benchmarking server
- pbecho.py - echo server that uses login
- pbechoclient.py - echo client using login
- pbgtk2.py - example of using GTK2 with PB
- pbinterop.py - shows off various types supported by PB
- pbsimple.py - simplest possible server
- pbsimpleclient.py - simplest possible client
- bananabench.py - benchmark for banana

## ROW (Twisted Enterprise)

- row_example.py
- row_schema.sql
- row_util.py
- row_xml.py

## Cred

- cred.py

## GUI

- qtdemo.py - QT demo
- wxdemo.py - wxPython
- pbgtk2.py - example of using GTK2 with PB
- cursesclient.py - curses
- pyuidemo.py - PyUI

## Various clients

- ftpclient.py

## Miscellaenous

- stdiodemo.py
- mouse.py
- ptyserv.py
- rotatinglog.py
- courier.py
- example.html
- longex.py
- longex2.py
- pairudp.py
- stdin.py
- filewatch.py
- gpsfix.py
- testlogging.py

Index

Version: 2.4.0