Actually include forwarder example.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user