@@ -325,11 +325,27 @@ Functions, Constants, and Exceptions
325325SSL 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: `~socket.socket.recv() ` is not allowed).
331-
332- SSL sockets also have the following additional methods and attributes:
328+ SSL sockets provide the following methods of :ref: `socket-objects `:
329+
330+ - :meth: `~socket.socket.accept() `
331+ - :meth: `~socket.socket.bind() `
332+ - :meth: `~socket.socket.close() `
333+ - :meth: `~socket.socket.connect() `
334+ - :meth: `~socket.socket.detach() `
335+ - :meth: `~socket.socket.fileno() `
336+ - :meth: `~socket.socket.getpeername() `, :meth: `~socket.socket.getsockname() `
337+ - :meth: `~socket.socket.getsockopt() `, :meth: `~socket.socket.setsockopt() `
338+ - :meth: `~socket.socket.gettimeout() `, :meth: `~socket.socket.settimeout() `,
339+ :meth: `~socket.socket.setblocking() `
340+ - :meth: `~socket.socket.listen() `
341+ - :meth: `~socket.socket.makefile() `
342+ - :meth: `~socket.socket.recv() `, :meth: `~socket.socket.recv_into() `
343+ (but passing a non-zero ``flags `` argument is not allowed)
344+ - :meth: `~socket.socket.send() `, :meth: `~socket.socket.sendall() ` (with
345+ the same limitation)
346+ - :meth: `~socket.socket.shutdown() `
347+
348+ They also have the following additional methods and attributes:
333349
334350.. method :: SSLSocket.do_handshake()
335351
0 commit comments