Lines Matching defs:socket
8 SSLSocket -- subtype of socket.socket which does SSL over the socket
260 from socket import socket, SOCK_STREAM, create_connection
261 from socket import SOL_SOCKET, SO_TYPE, _GLOBAL_DEFAULT_TIMEOUT
262 import socket as _socket
396 "SSL socket or SSL context with either "
889 """The SSLSession for client socket."""
903 """Whether this is a server-side socket."""
1006 class SSLSocket(socket):
1007 """This class implements a subtype of socket.socket that wraps
1008 the underlying OS socket in an SSL context when necessary, and
1074 # This prevents pending data sent to the socket before it was
1148 # getpeername() will raise ENOTCONN if the socket is really
1160 raise ValueError("Read on closed or unwrapped SSL socket.")
1181 raise ValueError("Write on closed or unwrapped SSL socket.")
1277 clear-text socket. Return the total number of bytes sent.
1382 # Here we assume that the socket is client-side, and not