diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-19 13:56:11 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-19 13:56:11 (GMT) |
commit | e1f2f30328cd4fb0cdd77dea3f53b722d5a9a38d (patch) | |
tree | 5bfb8ed0d0be7f3bab94f47cc20deeb4c19c9276 /Doc/library/ssl.rst | |
parent | dab642605bb53ddb392b221d1df4ccc274a3641b (diff) | |
download | cpython-e1f2f30328cd4fb0cdd77dea3f53b722d5a9a38d.zip cpython-e1f2f30328cd4fb0cdd77dea3f53b722d5a9a38d.tar.gz cpython-e1f2f30328cd4fb0cdd77dea3f53b722d5a9a38d.tar.bz2 |
Be more precise as to what operations are supported
Diffstat (limited to 'Doc/library/ssl.rst')
-rw-r--r-- | Doc/library/ssl.rst | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index b6a7f46..c0397db 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -325,11 +325,27 @@ 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:`~socket.socket.recv()` is not allowed). - -SSL sockets also have the following additional methods and attributes: +SSL sockets provide the following methods of :ref:`socket-objects`: + +- :meth:`~socket.socket.accept()` +- :meth:`~socket.socket.bind()` +- :meth:`~socket.socket.close()` +- :meth:`~socket.socket.connect()` +- :meth:`~socket.socket.detach()` +- :meth:`~socket.socket.fileno()` +- :meth:`~socket.socket.getpeername()`, :meth:`~socket.socket.getsockname()` +- :meth:`~socket.socket.getsockopt()`, :meth:`~socket.socket.setsockopt()` +- :meth:`~socket.socket.gettimeout()`, :meth:`~socket.socket.settimeout()`, + :meth:`~socket.socket.setblocking()` +- :meth:`~socket.socket.listen()` +- :meth:`~socket.socket.makefile()` +- :meth:`~socket.socket.recv()`, :meth:`~socket.socket.recv_into()` + (but passing a non-zero ``flags`` argument is not allowed) +- :meth:`~socket.socket.send()`, :meth:`~socket.socket.sendall()` (with + the same limitation) +- :meth:`~socket.socket.shutdown()` + +They also have the following additional methods and attributes: .. method:: SSLSocket.do_handshake() |