socket.getdefaulttimeout()¶
-
socket.getdefaulttimeout() → timeout¶ Returns the default timeout in seconds (float) for new socket objects. A value of None indicates that new socket objects have no timeout. When the socket module is first imported, the default is None.