Lines Matching defs:host
103 Instantiate with: IMAP4([host[, port]])
105 host - host's name (default: localhost);
151 def __init__(self, host = '', port = IMAP4_PORT):
163 self.open(host, port)
221 def open(self, host = '', port = IMAP4_PORT):
222 """Setup connection to remote server on "host:port"
227 self.host = host
229 self.sock = socket.create_connection((host, port))
1134 Instantiate with: IMAP4_SSL([host[, port[, keyfile[, certfile]]]])
1136 host - host's name (default: localhost);
1145 def __init__(self, host = '', port = IMAP4_SSL_PORT, keyfile = None, certfile = None):
1148 IMAP4.__init__(self, host, port)
1151 def open(self, host = '', port = IMAP4_SSL_PORT):
1152 """Setup connection to remote server on "host:port".
1157 self.host = host
1159 self.sock = socket.create_connection((host, port))
1226 def open(self, host = None, port = None):
1231 self.host = None # For compatibility with parent class
1437 host = args[0]
1440 PASSWD = getpass.getpass("IMAP password for %s on %s: " % (USER, host or "localhost"))
1481 M = IMAP4(host)