Actually include forwarder example.

This commit is contained in:
Ryan Williams
2010-03-16 13:31:07 -07:00
parent cb7c8c0196
commit e6290870c9
2 changed files with 7 additions and 1 deletions

View File

@@ -56,10 +56,14 @@ This example requires `Feedparser <http://www.feedparser.org/>`_ to be installed
.. literalinclude:: ../examples/feedscraper.py
.. _forwarder_example:
Port Forwarder
-----------------------
``examples/forwarder.py``
.. literalinclude:: ../examples/forwarder.py
.. _producer_consumer_example:
Producer Consumer/Recursive Web Crawler

View File

@@ -1,4 +1,6 @@
""" This is an incredibly simple port forwarder from port 7000 to 22 on localhost. It calls a callback function when the socket is closed, to demonstrate one way that you could start to do interesting things by
""" This is an incredibly simple port forwarder from port 7000 to 22 on
localhost. It calls a callback function when the socket is closed, to
demonstrate one way that you could start to do interesting things by
starting from a simple framework like this.
"""