Home | History | Annotate | Download | only in python2.7

Lines Matching full:socket

9   SSLSocket -- subtype of socket.socket which does SSL over the socket
90 from socket import socket, _fileobject, _delegate_methods, error as socket_error
91 from socket import getnameinfo as _getnameinfo
100 class SSLSocket(socket):
102 """This class implements a subtype of socket.socket that wraps
103 the underlying OS socket in an SSL context when necessary, and
111 socket.__init__(self, _sock=sock._sock)
112 # The initializer for socket overrides the methods send(), recv(), etc.
128 socket.getpeername(self)
233 return socket.sendall(self, data, flags)
292 socket.shutdown(self, how)
297 socket.close(self)
308 # Here we assume that the socket is client-side, and not
317 rc = socket.connect_ex(self, addr)
320 socket.connect(self, addr)
346 newsock, addr = socket.accept(self)
367 from the socket module."""
446 s = wrap_socket(socket(), ssl_version=ssl_version,
457 # a replacement for the old socket.ssl function
461 """A replacement for the old socket.ssl function. Designed