Lines Matching refs:timeout
27 socket.getdefaulttimeout() -- get the default timeout value
28 socket.setdefaulttimeout() -- set the default timeout value
29 create_connection() -- connects to an address, with an optional timeout and
296 # Issue #7995: if no default timeout is set and the listening
297 # socket had a (non-zero) timeout, force the new socket in blocking
363 timeout = self.gettimeout()
364 if timeout == 0:
381 if timeout and not selector_select(timeout):
390 if not timeout:
676 # timeout and consider the socket non-blocking)
707 except timeout:
809 def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
815 *timeout* parameter will set the timeout on the socket instance
816 before attempting to connect. If no *timeout* is supplied, the
817 global default timeout setting returned by :func:`getdefaulttimeout`
832 if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
833 sock.settimeout(timeout)