]> granicus.if.org Git - python/commitdiff
Mention that SSL sockets provide the basic socket API.
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 19 Sep 2010 13:19:21 +0000 (13:19 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 19 Sep 2010 13:19:21 +0000 (13:19 +0000)
Doc/library/ssl.rst

index ab7ffdb0d35944ae85720e03f38f6f197894e533..4ab21d2e0d43b8c08376edc40f45183bc93c0904 100644 (file)
@@ -325,6 +325,12 @@ Functions, Constants, and Exceptions
 SSL Sockets
 -----------
 
+SSL sockets provide the basic interface of :ref:`socket-objects`. However,
+not all functionality is supported (for example, passing a non-zero ``flags``
+argument to :meth:`recv()` is not allowed).
+
+SSL sockets also have the following additional methods and attributes:
+
 .. method:: SSLSocket.read(nbytes=1024, buffer=None)
 
    Reads up to ``nbytes`` bytes from the SSL-encrypted channel and returns them.