python multiport

Examples showing how to use twisted (a Python networking library) to run a web server that listens on multiple ports.

  • dead_simple.py - a dead simple example for serving up content using strings containing HTML
  • static_content.py - an example showing how to create twisted Site objects for different folders, and web servers listening on different ports for each different folder
Description
demos for running a single python web service that listens on multiple ports.
Readme 32 KiB
Languages
Python 74%
HTML 26%