diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-04-09 00:48:28 +0300 |
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-04-09 00:48:28 +0300 |
| commit | 2e58474580fe459c03e52c7662d28786f3885fdf (patch) | |
| tree | e550927a1e8798f584765a3d4828f8f833facc0e /docs/wipy | |
| parent | 3acace588a51b5f45a28ae3f63d662b6be0e8d4d (diff) | |
docs/usocket: Deconditionalize.
Notes on WiPy incompatibilities with the standard socket module API are
moved under "Known issues" to its documentation.
Diffstat (limited to 'docs/wipy')
| -rw-r--r-- | docs/wipy/general.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/wipy/general.rst b/docs/wipy/general.rst index d7b35cc4e..9b3f54df2 100644 --- a/docs/wipy/general.rst +++ b/docs/wipy/general.rst @@ -239,3 +239,17 @@ Additional Pin methods: Returns a list of the alternate functions supported by the pin. List items are a tuple of the form: ``('ALT_FUN_NAME', ALT_FUN_INDEX)`` + +Known issues +------------ + +Incompatible way to create SSL sockets +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +SSL sockets need to be created the following way before wrapping them with. +``ssl.wrap_socket``:: + + import socket + import ssl + s = socket(socket.AF_INET, socket.SOCK_STREAM, socket.IPPROTO_SEC) + ss = ssl.wrap_socket(s) |
