ID EN
Socket

getdefaulttimeout

Python 3.11

Return 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.

Syntax

PYTHON
socket.getdefaulttimeout()