Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 792ff3e

Browse files
committed
Mention that SSL sockets provide the basic socket API.
1 parent 035cedb commit 792ff3e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Doc/library/ssl.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,12 @@ Functions, Constants, and Exceptions
325325
SSL Sockets
326326
-----------
327327

328+
SSL sockets provide the basic interface of :ref:`socket-objects`. However,
329+
not all functionality is supported (for example, passing a non-zero ``flags``
330+
argument to :meth:`recv()` is not allowed).
331+
332+
SSL sockets also have the following additional methods and attributes:
333+
328334
.. method:: SSLSocket.read(nbytes=1024, buffer=None)
329335

330336
Reads up to ``nbytes`` bytes from the SSL-encrypted channel and returns them.

0 commit comments

Comments
 (0)