Lines Matching refs:sock
104 self.sock = self._create_socket(timeout)
105 self.file = self.sock.makefile('rb')
117 self.sock.sendall(line + CRLF)
291 sock = self.sock
292 self.sock = None
293 if sock is not None:
295 sock.shutdown(socket.SHUT_RDWR)
304 sock.close()
410 self.sock = context.wrap_socket(self.sock,
412 self.file = self.sock.makefile('rb')
455 sock = POP3._create_socket(self, timeout)
456 sock = self.context.wrap_socket(sock,
458 return sock