A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-November/075374.html below:

[Python-Dev] ssl module integration with asyncore

[Python-Dev] ssl module integration with asyncore [Python-Dev] ssl module integration with asyncoreBill Janssen janssen at parc.com
Mon Nov 26 19:23:08 CET 2007
> Hi there,
> since ssl module is still in development I thought it would have been
> better asking such question here instead of on comp.lang.python.
> I'm interested in using the ssl module with asyncore but since there's
> no real documentation about it yet I've been not able to write
> something useful with it.

http://docs.python.org/dev/library/ssl.html -- it's not quite up-to-date,
but close.

> Currently I'm trying to add the SSL support to an asyncore-based FTP
> server I wrote.
> I tried to write some code by watching the ssl-related test-suite
> scripts with no luck since there are no available tests for asyncore
> available.

Take a look at the SSL 1.12 test suite -- there's an asyncore-based
server in there.

> I tried to play with the wrap_socket() function a little bit but
> different type of errors are raised every time.
> I'm sure this happens because I'm not doing things in the right way.
> Could someone please show me an example code about how the ssl module
> could be integrated with asyncore?

Hope that helps.

Bill
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4