You are here : python_3socketsocketgetdefaulttimeout

socket.getdefaulttimeout() - socket

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

socket.getdefaulttimeout()


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference